diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-07-07 12:52:48 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-07-07 12:52:48 +0300 |
| commit | 6c975e339be02b487c76024e1bef308ef07483be (patch) | |
| tree | a04e5162f084d787c54ce18854a4eceb33ef99f2 /Software/Visual_Studio/MachineStudio/Modules | |
| parent | 67220823f4468e431a05a20a53fafe16d49d0c20 (diff) | |
| download | Tango-6c975e339be02b487c76024e1bef308ef07483be.tar.gz Tango-6c975e339be02b487c76024e1bef308ef07483be.zip | |
Organized brush stop.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels/MainViewVM.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels/MainViewVM.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels/MainViewVM.cs index 3f28c2cff..8772697b6 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels/MainViewVM.cs +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels/MainViewVM.cs @@ -1233,8 +1233,8 @@ namespace Tango.MachineStudio.Developer.ViewModels { LogManager.Log(String.Format("BrushStop {0} Dropped on BrushStop {1}", dragged.StopIndex, dropped.StopIndex)); - dragged.SetStopIndex(dropped.StopIndex); - dropped.SetStopIndex(dropped.StopIndex + 1); + dragged.SetStopIndexNoRaise(dropped.StopIndex); + dropped.SetStopIndexNoRaise(dropped.StopIndex + 1); ArrangeBrushStopsIndices(); } @@ -1988,7 +1988,7 @@ namespace Tango.MachineStudio.Developer.ViewModels foreach (var stop in SelectedSegment.BrushStops.OrderBy(x => x.StopIndex)) { - stop.SetStopIndex(index++); + stop.SetStopIndexNoRaise(index++); } if (SelectedSegment.BrushStops.Count > 1) |
