Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2019-05-20 15:47:15 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2019-05-20 15:51:18 +0300
commit49f530c7da6bd117c4b373307eb646d513538526 (patch)
tree56fea9a018e8836154c707bf5bdf306c7f8eb727 /source/blender
parent0b47d08ef665898c84ca30a1ba2ecc0076a757d1 (diff)
Fix T64876: Checking Animated checkbox does not do what is documented.
This property should not be animatable.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/makesrna/intern/rna_rigidbody.c1
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);