I don't see any big technical difficulty personally. We can just modify the refcount increasing/decreasing function to use an observer pattern scheme and if a datablock is deleted simply inform the observers of the deletion (And the human user if the datablock has more users). It will require some interface for the observers too but I don't think it's an unsurpassable challenge, even in C :p. The memory footprint of datablocks will slightly increase but it's a negligible amount of data compared to meshes etc. _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
- Re: [Bf-committers] Reference counting, de... Daniel Salazar - 3Developer.com
- Re: [Bf-committers] Reference counting, de... Nicholas Bishop
- Re: [Bf-committers] Reference countin... Antony Riakiotakis
- Re: [Bf-committers] Reference cou... Alexander Zubov
- Re: [Bf-committers] Reference cou... Nathan Vegdahl
- Re: [Bf-committers] Reference... Mango Jambo
- Re: [Bf-committers] Refer... Mango Jambo
- Re: [Bf-committers] ... Mike Belanger
- Re: [Bf-committers] ... Antony Riakiotakis
- Re: [Bf-committers] ... Lukas Tönne
- Re: [Bf-committers] ... Antony Riakiotakis
- Re: [Bf-committers] ... Lukas Tönne
- Re: [Bf-committers] ... Bassam Kurdali
- Re: [Bf-committers] ... Alexander Zubov
- Re: [Bf-committers] ... Juha Mäki-Kanto
- Re: [Bf-committers] ... Nathan Vegdahl
- Re: [Bf-committers] ... Bassam Kurdali
- Re: [Bf-committers] ... patrick boelens
- Re: [Bf-committers] ... Antony Riakiotakis
- Re: [Bf-committers] ... Joshua Leung
- Re: [Bf-committers] ... Nathan Vegdahl
