We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e4ade8 commit c352a14Copy full SHA for c352a14
cyril.xcodeproj/project.xcworkspace/xcuserdata/darren.xcuserdatad/UserInterfaceState.xcuserstate
1.02 KB
src/cyrilApp.cpp
@@ -178,6 +178,8 @@ void cyrilApp::draw(){
178
ofDisableLighting();
179
}
180
181
+ //ofEnableAlphaBlending();
182
+
183
_state.ms->clearStacks();
184
float X_MAX = (*_state.sym)[REG_X_MAX];
185
float Y_MAX = (*_state.sym)[REG_Y_MAX];
@@ -340,6 +342,7 @@ void cyrilApp::reloadFileBuffer(std::string filePath) {
340
342
//cout << "Loading image " << file.getFileName() << endl;
341
343
int whichImg = ofToInt(removeExtension(file.getFileName()));
344
(*_state.img)[whichImg] = new ofImage(filePath);
345
+ (*_state.img)[whichImg]->setAnchorPercent(0.5, 0.5);
346
347
348
0 commit comments