diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-05-20 15:47:15 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-05-20 15:51:18 +0300 |
commit | 49f530c7da6bd117c4b373307eb646d513538526 (patch) | |
tree | 56fea9a018e8836154c707bf5bdf306c7f8eb727 /source/blender/makesrna/intern/rna_rigidbody.c | |
parent | 0b47d08ef665898c84ca30a1ba2ecc0076a757d1 (diff) |
Fix T64876: Checking Animated checkbox does not do what is documented.
This property should not be animatable.
Diffstat (limited to 'source/blender/makesrna/intern/rna_rigidbody.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_rigidbody.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_rigidbody.c b/source/blender/makesrna/intern/rna_rigidbody.c index 799705df2b4..c489310124b 100644 --- a/source/blender/makesrna/intern/rna_rigidbody.c +++ b/source/blender/makesrna/intern/rna_rigidbody.c @@ -1044,6 +1044,7 @@ static void rna_def_rigidbody_object(BlenderRNA *brna) RNA_def_property_boolean_funcs(prop, NULL, "rna_RigidBodyOb_kinematic_state_set"); RNA_def_property_ui_text( prop, "Kinematic", "Allow rigid body to be controlled by the animation system"); + RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); RNA_def_property_update(prop, NC_OBJECT | ND_POINTCACHE, "rna_RigidBodyOb_reset"); prop = RNA_def_property(srna, "use_deform", PROP_BOOLEAN, PROP_NONE); |