Browse Source

Move texture coordinate only if it is selected

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

2
src/Application/Application.cpp

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

Loading…
Cancel
Save