From 114893facec95946b8868c6be04037239f571e57 Mon Sep 17 00:00:00 2001 From: Krisjanis Rijnieks Date: Mon, 19 Sep 2016 11:41:59 +0200 Subject: [PATCH] Clean up TextureMappingState a bit --- src/Application/States/TextureMappingState.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Application/States/TextureMappingState.cpp b/src/Application/States/TextureMappingState.cpp index bec0248..168f50d 100644 --- a/src/Application/States/TextureMappingState.cpp +++ b/src/Application/States/TextureMappingState.cpp @@ -149,8 +149,7 @@ void TextureMappingState::onMouseReleased(Application * app, ofMouseEventArgs & // Alter mouse event args to match canvas translation args.x -= _canvasTranslate.x; args.y -= _canvasTranslate.y; - - //app->getGui()->mouseReleased(args); + app->getGui()->stopDrag(); app->getGui()->getTextureEditor()->stopDragJoints(); }