diff --git a/src/Application/Application.cpp b/src/Application/Application.cpp index 7708181..64322cd 100644 --- a/src/Application/Application.cpp +++ b/src/Application/Application.cpp @@ -395,7 +395,12 @@ void Application::selectPrevTexCoord(){ } void Application::moveSelection(ofVec2f by){ - getCmdManager()->exec(new MvSelectionCmd(getSurfaceManager(), by)); + if(_state == ProjectionMappingMode::instance()){ + getCmdManager()->exec(new MvSelectionCmd(getSurfaceManager(), by)); + }else if(_state == TextureMappingMode::instance()){ + int selectedTexCoord = Gui::instance()->getTextureEditorWidget().getSelectedTexCoord(); + moveTexCoord(selectedTexCoord, by); + } } void Application::setPresentationMode(){