Re: [K3d-development] File change notification
Brought to you by:
barche
From: Joaquin D. <hoa...@ya...> - 2008-11-17 02:18:45
|
Hi folks! Timothy M. Shead wrote: > Bart Janssens wrote: > >> For plugins like the bitmap and mesh readers, it would be useful if >> the pipeline got updated automatically when the external file changes. >> It seems that on linux, this can be accomplished with the "inotify" >> system (see http://inotify.aiken.cz). > > Definitely a winner, but you will need to provide an abstraction for > other systems (I think dnotify is another, then there's Windows, Mac, > etc). A new interface and application plugins seem like the right way > to handle this. > > Some thought will have to be given to how individual properties get > "hooked-up" with this capability. Do plugin authors decide whether > their property should have this "auto-refresh" capability? Users? Is As a general solution I would suggest having a checkbox "Reload On update" for every input(*) file property.What do you think? (*) There is no way to distinguish input(read) from output(write) (because in fact both are input for the plugin) Could be a "restriction" on the constructor? So that the GUI could know? Any other way to solve this? Cheers! Joaquín |