[Bf-taskforce25] Moving RNA Struct inheritance to iteration time

vekoon vekoon at gmail.com
Mon Feb 2 01:43:50 CET 2009


Hi brecht,
as you agreed on channel about moving struct inheritance for properties 
to iteration time and because I had some time tonight I implemented it 
as to avoid you some work (well not much, depends especially on how many 
mistakes I made). Hope you don't mind. Here's the patch: 
http://vekoon.googlecode.com/files/rna_struct_inheritance_1.0.patch
Oh by the way, I grepped through the code in search for 
RNA_struct_defined_properties and noticed that no code uses it, which is 
good because now it returns only the properties that strictly belong to 
that struct.

Also the patch is for others to try out if you have time. Although I 
tested it a bit, more testing is always better.
As a side note, now properties show up in the outliner ordered by struct 
inheritance so you'll always see (for instance) name and modifier 
settings before the properties specific for the actual modifier type 
which to me looks nicer than it was before.


More information about the Bf-taskforce25 mailing list