|
@ -84,6 +84,7 @@ void ProjectionMappingState::onKeyPressed(Application * app, ofKeyEventArgs & ar |
|
|
if(app->getSurfaceManager()->getSelectedSurface()->getType() == |
|
|
if(app->getSurfaceManager()->getSelectedSurface()->getType() == |
|
|
SurfaceType::GRID_WARP_SURFACE){ |
|
|
SurfaceType::GRID_WARP_SURFACE){ |
|
|
|
|
|
|
|
|
|
|
|
if(((GridWarpSurface *)app->getSurfaceManager()->getSelectedSurface())->getGridRows() > 1){ |
|
|
// TODO: The command should not require projection editor pointer
|
|
|
// TODO: The command should not require projection editor pointer
|
|
|
app->getCmdManager()->exec( |
|
|
app->getCmdManager()->exec( |
|
|
new RmGridRowCmd( |
|
|
new RmGridRowCmd( |
|
@ -91,6 +92,7 @@ void ProjectionMappingState::onKeyPressed(Application * app, ofKeyEventArgs & ar |
|
|
app->getGui()->getProjectionEditor() )); |
|
|
app->getGui()->getProjectionEditor() )); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
break; |
|
|
break; |
|
|
|
|
|
|
|
|
case ']': |
|
|
case ']': |
|
|