Browse Source

Refine ofxPiMapper::selectSurface public method

master
Krisjanis Rijnieks 9 years ago
parent
commit
02f14bfe95
  1. 4
      src/ofxPiMapper.cpp

4
src/ofxPiMapper.cpp

@ -41,9 +41,7 @@ void ofxPiMapper::eraseActivePreset(){
} }
void ofxPiMapper::selectSurface(int i){ void ofxPiMapper::selectSurface(int i){
if(_application.getState() == ofx::piMapper::PresentationMode::instance()){ _application.getState()->selectSurface(&_application, i);
_application.getSurfaceManager()->selectSurface(i);
}
} }
void ofxPiMapper::selectNextSurface(){ void ofxPiMapper::selectNextSurface(){

Loading…
Cancel
Save