Fix two more 'infinite recursions' cases in RNA pose.
This commit is contained in:
parent
eb3ae79c2d
commit
a945bcc028
|
@ -713,7 +713,7 @@ static void rna_def_keyblock(BlenderRNA *brna)
|
|||
|
||||
prop = RNA_def_property(srna, "relative_key", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_struct_type(prop, "ShapeKey");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE | PROP_NEVER_NULL);
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE | PROP_NEVER_NULL | PROP_PTR_NO_OWNERSHIP);
|
||||
RNA_def_property_pointer_funcs(prop, "rna_ShapeKey_relative_key_get",
|
||||
"rna_ShapeKey_relative_key_set", NULL, NULL);
|
||||
RNA_def_property_ui_text(prop, "Relative Key", "Shape used as a relative key");
|
||||
|
|
|
@ -908,7 +908,7 @@ static void rna_def_pose_channel(BlenderRNA *brna)
|
|||
prop = RNA_def_property(srna, "bbone_custom_handle_start", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "bbone_prev");
|
||||
RNA_def_property_struct_type(prop, "PoseBone");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE | PROP_PTR_NO_OWNERSHIP);
|
||||
RNA_def_property_ui_text(prop, "B-Bone Start Handle",
|
||||
"Bone that serves as the start handle for the B-Bone curve");
|
||||
RNA_def_property_editable_func(prop, "rna_PoseChannel_proxy_editable");
|
||||
|
@ -924,7 +924,7 @@ static void rna_def_pose_channel(BlenderRNA *brna)
|
|||
prop = RNA_def_property(srna, "bbone_custom_handle_end", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "bbone_next");
|
||||
RNA_def_property_struct_type(prop, "PoseBone");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE | PROP_PTR_NO_OWNERSHIP);
|
||||
RNA_def_property_ui_text(prop, "B-Bone End Handle",
|
||||
"Bone that serves as the end handle for the B-Bone curve");
|
||||
RNA_def_property_editable_func(prop, "rna_PoseChannel_proxy_editable");
|
||||
|
|
Loading…
Reference in New Issue