It would be great if onPaint() could be recalled after state was reloaded so that we immediately had the GUI updated with current state of lua script variables instead of having to advance a frame.
(I tried adding Lua::Callbacks::call(Lua::NamedLuaFunction::CallbackPaint) in either SaveState::postLoad() or receive_messages() from frame.cpp but couldn't get anything to work, either because of nothing changing, crashes or dynamic include issues)
Help on this would be appreciated!
It would be great if onPaint() could be recalled after state was reloaded so that we immediately had the GUI updated with current state of lua script variables instead of having to advance a frame.
(I tried adding
Lua::Callbacks::call(Lua::NamedLuaFunction::CallbackPaint)in eitherSaveState::postLoad()orreceive_messages()fromframe.cppbut couldn't get anything to work, either because of nothing changing, crashes or dynamic include issues)Help on this would be appreciated!