Browse Source

Move texture coordinate only if it is selected

master
Krisjanis Rijnieks 8 years ago
parent
commit
022d8866a7
  1. 4
      src/Application/Application.cpp

4
src/Application/Application.cpp

@ -399,7 +399,9 @@ void Application::moveSelection(ofVec2f by){
getCmdManager()->exec(new MvSelectionCmd(getSurfaceManager(), by));
}else if(_state == TextureMappingMode::instance()){
int selectedTexCoord = Gui::instance()->getTextureEditorWidget().getSelectedTexCoord();
moveTexCoord(selectedTexCoord, by);
if(selectedTexCoord >= 0){
moveTexCoord(selectedTexCoord, by);
}
}
}

Loading…
Cancel
Save