Closed ro0mquy closed 10 years ago
I'm sorry, but I actually don't think so.
The shader is reloaded using a function called load_shader()
and the timeline loading happens using the function timeline_load()
. The init function calls both, but is only called once at startup. This is the only time, timeline_load()
is called.
All other shader reloading (sig, F5, inotify) simply call load_scene()
, not init()
, this timeline_load()
isn't called.
oh yeah, you're right
I lol'd
At the moment the timeline is reloaded with the new shader, because it's in init(). Is this intended? Also if it should stay there, we may call timeline_destroy() and free() on the pointer before overwriting it with a new timeline, could come in handy maybe, I think...