Ejemplo n.º 1
0
        public virtual void Shutdown()
        {
            if (PreviewSO != null)
            {
                Scene.RemoveSceneObject(PreviewSO, true);
                PreviewSO = null;
            }
            if (bendPlaneGizmoSO != null)
            {
                allow_selection_changes = true;
                Scene.RemoveSceneObject(bendPlaneGizmoSO, true);
                allow_selection_changes = false;
                bendPlaneGizmoSO        = null;
            }

            Indicators.Disconnect(true);


            TargetSO.PopOverrideMaterial();
            TargetSO.SetLayer(FPlatform.GeometryLayer);

            Scene.Context.TransformManager.PopOverrideGizmoType();
        }