Browse Source

Select first surface when hitting tab in projection mapping mode if no surface selected

master
Krisjanis Rijnieks 9 years ago
parent
commit
cf60a372df
  1. 2
      src/Application/ProjectionMappingState.cpp

2
src/Application/ProjectionMappingState.cpp

@ -179,6 +179,8 @@ void ProjectionMappingState::onKeyPressed(Application * app, ofKeyEventArgs & ar
new SetNextSourceCmd(
app->getSurfaceManager()->getSelectedSurface(),
app->getGui()->getSourcesEditor()));
}else{
app->getCmdManager()->exec(new SelNextSurfaceCmd(app->getSurfaceManager()));
}
break;

Loading…
Cancel
Save