[Bf-blender-cvs] [c86e828eee8] blender2.8: Fix (IRC reported) missing update for RNA Object's matrix_local property.

Bastien Montagne noreply at git.blender.org
Tue Dec 4 12:06:35 CET 2018


Commit: c86e828eee8b7e7e0cde4fa211991b6ebac1ff0f
Author: Bastien Montagne
Date:   Tue Dec 4 12:04:27 2018 +0100
Branches: blender2.8
https://developer.blender.org/rBc86e828eee8b7e7e0cde4fa211991b6ebac1ff0f

Fix (IRC reported) missing update for RNA Object's matrix_local property.

Reported by @zeffii, thanks!

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

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 8506ff5bbd9..915156eb9b3 100644
--- a/source/blender/makesrna/intern/rna_object.c
+++ b/source/blender/makesrna/intern/rna_object.c
@@ -2404,7 +2404,7 @@ static void rna_def_object(BlenderRNA *brna)
 	                         "WARNING: Only takes into account 'Object' parenting, so e.g. in case of bone parenting "
 	                         "you get a matrix relative to the Armature object, not to the actual parent bone");
 	RNA_def_property_float_funcs(prop, "rna_Object_matrix_local_get", "rna_Object_matrix_local_set", NULL);
-	RNA_def_property_update(prop, NC_OBJECT | ND_TRANSFORM, NULL);
+	RNA_def_property_update(prop, NC_OBJECT | ND_TRANSFORM, "rna_Object_internal_update");
 
 	prop = RNA_def_property(srna, "matrix_basis", PROP_FLOAT, PROP_MATRIX);
 	RNA_def_property_multi_array(prop, 2, rna_matrix_dimsize_4x4);



More information about the Bf-blender-cvs mailing list