Browse Source

Clean up SurfaceManagerGui::mouseReleased()

master
Krisjanis Rijnieks 9 years ago
parent
commit
92e9d66e9c
  1. 9
      src/Surfaces/SurfaceManagerGui.cpp

9
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){

Loading…
Cancel
Save