|
|
@ -30,6 +30,10 @@ void TextureMappingState::onKeyPressed(Application * app, ofKeyEventArgs & args) |
|
|
|
break; |
|
|
|
|
|
|
|
case ' ': |
|
|
|
if(app->getSurfaceManager()->getSelectedSurface() == 0){ |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
if(app->getSurfaceManager()->getSelectedSurface()->getSource()->getType() == |
|
|
|
SourceType::SOURCE_TYPE_VIDEO){ |
|
|
|
app->getCmdManager()->exec( |
|
|
|