ro0mquy / rtificial

Flashing Visuals and Dope Sound | Das Git™
http://rtificial.org/
1 stars 0 forks source link

reloading of timeline? #21

Closed ro0mquy closed 10 years ago

ro0mquy commented 10 years ago

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...

phistep commented 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.

ro0mquy commented 10 years ago

oh yeah, you're right

phistep commented 10 years ago

I lol'd