diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-08-20 18:48:10 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-08-20 18:48:33 +0300 |
commit | 14c4a217ebbe5c88b381a2c9413c52d9ea7655dd (patch) | |
tree | abb2d1659d2ee3b4a56a4fae43e97e28fbd25936 /source/blender/makesrna/intern/rna_rigidbody.c | |
parent | 207f2137dd0d46505eadceeb2ae3fdf0e02806d0 (diff) |
Liboverride: Add more missing ID RNA pointers as overridable.
Diffstat (limited to 'source/blender/makesrna/intern/rna_rigidbody.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_rigidbody.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_rigidbody.c b/source/blender/makesrna/intern/rna_rigidbody.c index 0aaf6f7301f..0a31cb17f82 100644 --- a/source/blender/makesrna/intern/rna_rigidbody.c +++ b/source/blender/makesrna/intern/rna_rigidbody.c @@ -1226,15 +1226,15 @@ static void rna_def_rigidbody_constraint(BlenderRNA *brna) prop = RNA_def_property(srna, "object1", PROP_POINTER, PROP_NONE); RNA_def_property_pointer_sdna(prop, NULL, "ob1"); RNA_def_property_flag(prop, PROP_EDITABLE); + RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY); RNA_def_property_ui_text(prop, "Object 1", "First Rigid Body Object to be constrained"); - RNA_def_property_flag(prop, PROP_EDITABLE); RNA_def_property_update(prop, NC_OBJECT | ND_POINTCACHE, "rna_RigidBodyOb_reset"); prop = RNA_def_property(srna, "object2", PROP_POINTER, PROP_NONE); RNA_def_property_pointer_sdna(prop, NULL, "ob2"); RNA_def_property_flag(prop, PROP_EDITABLE); + RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY); RNA_def_property_ui_text(prop, "Object 2", "Second Rigid Body Object to be constrained"); - RNA_def_property_flag(prop, PROP_EDITABLE); RNA_def_property_update(prop, NC_OBJECT | ND_POINTCACHE, "rna_RigidBodyOb_reset"); /* Breaking Threshold */ |