Fix T64876: Checking Animated checkbox does not do what is documented.
authorBastien Montagne <montagne29@wanadoo.fr>
Mon, 20 May 2019 12:47:15 +0000 (14:47 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Mon, 20 May 2019 12:51:18 +0000 (14:51 +0200)
This property should not be animatable.

source/blender/makesrna/intern/rna_rigidbody.c

index 799705df2b478a58387538c4fac7a7c43406dace..c489310124b3c99c3d75e8f70a37ada66c64d37f 100644 (file)
@@ -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);