Beispiel #1
0
 public void OnSubdivisionSettingsChanged()
 {
     if (_isActive)
     {
         if (_subdivisionSettings.UseSubdivision)
         {
             _subdivisionApplyOperation.ApplySubdivisionToEntireBlock(_blockSegments, _subdivisionSettings);
         }
         else
         {
             ObjectPlacementBoxStackSegmentActions.ClearHideFlagsForAllStacksInSegments(_blockSegments, ObjectPlacementBoxHideFlags.BlockApplySubdivisions);
         }
         SceneView.RepaintAll();
     }
 }
Beispiel #2
0
        public void OnBorderSettingsChanged()
        {
            if (_isActive)
            {
                if (_borderSettings.UseBorders)
                {
                    _borderApplyOperation.ApplyBordersToAllPathSegments(_pathSegments, _borderSettings);
                }
                else
                {
                    ObjectPlacementBoxStackSegmentActions.ClearHideFlagsForAllStacksInSegments(_pathSegments, ObjectPlacementBoxHideFlags.PathApplyBorders);
                }

                SceneView.RepaintAll();
            }
        }