[Bf-blender-cvs] [4269c56] master: Fix T45865: NLA: Auto Blend is not recalculated when adjusting repeat.

Bastien Montagne noreply at git.blender.org
Thu Sep 24 10:53:48 CEST 2015


Commit: 4269c5690412975291cddf420e0a9aafa1bb8e5f
Author: Bastien Montagne
Date:   Thu Sep 24 10:53:09 2015 +0200
Branches: master
https://developer.blender.org/rB4269c5690412975291cddf420e0a9aafa1bb8e5f

Fix T45865: NLA: Auto Blend is not recalculated when adjusting repeat.

===================================================================

M	source/blender/makesrna/intern/rna_nla.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_nla.c b/source/blender/makesrna/intern/rna_nla.c
index 4b66313..22d0144 100644
--- a/source/blender/makesrna/intern/rna_nla.c
+++ b/source/blender/makesrna/intern/rna_nla.c
@@ -614,7 +614,7 @@ static void rna_def_nlastrip(BlenderRNA *brna)
 	 * (minimum should still be > 0 though) if needed... */
 	RNA_def_property_range(prop, 0.1f, 1000.0f);
 	RNA_def_property_ui_text(prop, "Repeat", "Number of times to repeat the action range");
-	RNA_def_property_update(prop, NC_ANIMATION | ND_NLA, NULL); /* this will do? */
+	RNA_def_property_update(prop, 0, "rna_NlaStrip_transform_update");
 	
 	prop = RNA_def_property(srna, "scale", PROP_FLOAT, PROP_NONE);
 	RNA_def_property_float_sdna(prop, NULL, "scale");




More information about the Bf-blender-cvs mailing list