Skip to content

Commit

Permalink
disabled StoreUndoPoint (has no effect so far, only takes time)
Browse files Browse the repository at this point in the history
  • Loading branch information
romangrothausmann committed Sep 10, 2018
1 parent f68d5fb commit 14fb16b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GUI/Model/JoinModel.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ ::ProcessPushEvent(const Vector3f &xSlice, bool reverse_mode, bool ctrl){
// Check if the right button was pressed
if(processCnJ(reverse_mode)){
//add undo point (todo: Undo has no effect so far)
m_Parent->GetDriver()->StoreUndoPoint("Click'n'Join");
// m_Parent->GetDriver()->StoreUndoPoint("Click'n'Join"); // commented as long as it has no effec except for taking single-threaded processing time according to the size of the loaded data
//fire SegmentationChangeEvent for e.g. 3D view Update
m_Parent->GetDriver()->InvokeEvent(SegmentationChangeEvent());
}
Expand Down

0 comments on commit 14fb16b

Please sign in to comment.