diff --git a/src/Surfaces/SurfaceManagerGui.cpp b/src/Surfaces/SurfaceManagerGui.cpp index 7fba1c0..e02b01e 100644 --- a/src/Surfaces/SurfaceManagerGui.cpp +++ b/src/Surfaces/SurfaceManagerGui.cpp @@ -97,15 +97,6 @@ void SurfaceManagerGui::mouseReleased(ofMouseEventArgs & args){ stopDrag(); projectionEditor.stopDragJoints(); textureEditor.stopDragJoints(); - - // Check if surface has moved - if(surfaceManager->getSelectedSurface()){ - if(!surfaceManager->getSelectedSurface()->getMoved()){ - - // TODO: emit event through the gui singleton - //_cmdManager->undo(); - } - } } void SurfaceManagerGui::mouseDragged(ofMouseEventArgs & args){