[Bf-blender-cvs] [b2c28a3] blender-v2.72-release: Fix T41939: Dupliface: Inherit scale doesn't update viewport render.

Bastien Montagne noreply at git.blender.org
Fri Oct 3 15:23:59 CEST 2014


Commit: b2c28a3e8293e4fb1314cb3143ac5ab2f182ced0
Author: Bastien Montagne
Date:   Wed Sep 24 19:48:16 2014 +0200
Branches: blender-v2.72-release
https://developer.blender.org/rBb2c28a3e8293e4fb1314cb3143ac5ab2f182ced0

Fix T41939: Dupliface: Inherit scale doesn't update viewport render.

Render needs un object update it seems...

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

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

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

diff --git a/source/blender/makesrna/intern/rna_object.c b/source/blender/makesrna/intern/rna_object.c
index 699bfaa..690468a 100644
--- a/source/blender/makesrna/intern/rna_object.c
+++ b/source/blender/makesrna/intern/rna_object.c
@@ -2624,7 +2624,7 @@ static void rna_def_object(BlenderRNA *brna)
 	RNA_def_property_float_sdna(prop, NULL, "dupfacesca");
 	RNA_def_property_range(prop, 0.001f, 10000.0f);
 	RNA_def_property_ui_text(prop, "Dupli Faces Scale", "Scale the DupliFace objects");
-	RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, NULL);
+	RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, "rna_Object_internal_update");
 
 	prop = RNA_def_property(srna, "dupli_group", PROP_POINTER, PROP_NONE);
 	RNA_def_property_pointer_sdna(prop, NULL, "dup_group");




More information about the Bf-blender-cvs mailing list