Closed groolot closed 10 years ago
While just starting the application, switch to EditingMode by pressing "Tab", then MiddleClick mouse to move object => crash!
Call stack gives inetresting informations. Seems that the ofxUISlider* xPositionSlider is not instanciate in the calling line https://github.com/groolot/vilain/blob/per-object-ui-implementation/src/vilainObject.cpp#L233
ofxUISlider* xPositionSlider
Certainly because the vilainObject::drawObjectUI has not been called yet, because no TabBar button has been touch.
vilainObject::drawObjectUI
MouseDragged crash until the object UI has been drawn.
While just starting the application, switch to EditingMode by pressing "Tab", then MiddleClick mouse to move object => crash!
Call stack gives inetresting informations. Seems that the
ofxUISlider* xPositionSlider
is not instanciate in the calling line https://github.com/groolot/vilain/blob/per-object-ui-implementation/src/vilainObject.cpp#L233Certainly because the
vilainObject::drawObjectUI
has not been called yet, because no TabBar button has been touch.