Hi! I’m looking for a bit of help.
I’m trying to familiarize with the Blender’s code, to contribute to it.
This may sound very noobish, but I’m having hard time to localize where the properties default values are set. For example the “track_axis” value of an object, declared in “rna_object.c”:
prop = RNA_def_property(srna, "track_axis", PROP_ENUM, PROP_NONE); RNA_def_property_enum_sdna(prop, NULL, "trackflag"); RNA_def_property_enum_items(prop, rna_enum_object_axis_items); RNA_def_property_ui_text(prop, "Track Axis", "Axis that points in 'forward' direction (applies to InstanceFrame when " "parent 'Follow' is enabled)"); RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, "rna_Object_internal_update");
By default it’s set to “+Y”, where is the code responsible for this?
“properties_object.py” seems to display the value, but does not set anything.
Thanks for any help.