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){
if(_application.getState() == ofx::piMapper::PresentationMode::instance()){
_application.getSurfaceManager()->selectSurface(i);
}
_application.getState()->selectSurface(&_application, i);
}
void ofxPiMapper::selectNextSurface(){

Loading…
Cancel
Save