From 49f530c7da6bd117c4b373307eb646d513538526 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Mon, 20 May 2019 14:47:15 +0200 Subject: Fix T64876: Checking Animated checkbox does not do what is documented. This property should not be animatable. --- source/blender/makesrna/intern/rna_rigidbody.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender') 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); -- cgit v1.2.3