Ejemplo n.º 1
0
        public static void ReloadEditorPannel(this IObject3D object3D)
        {
            // de-select and select this object
            var scene = object3D.ContainingScene();

            if (scene != null &&
                (object3D.Parents().Contains(scene.SelectedItem) ||
                 object3D == scene.SelectedItem))
            {
                var selection = scene.SelectedItem;
                scene.SelectedItem = null;
                scene.SelectedItem = selection;
            }
        }