[Bf-blender-cvs] [f1976cb] master: Fix T41939: Dupliface: Inherit scale doesn't update viewport render.

Bastien Montagne noreply at git.blender.org
Wed Sep 24 19:49:53 CEST 2014


Commit: f1976cbde7e852db234d2a4acb0ed8d64d53ae2c
Author: Bastien Montagne
Date:   Wed Sep 24 19:48:16 2014 +0200
Branches: master
https://developer.blender.org/rBf1976cbde7e852db234d2a4acb0ed8d64d53ae2c

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