From c86e828eee8b7e7e0cde4fa211991b6ebac1ff0f Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Tue, 4 Dec 2018 12:04:27 +0100 Subject: Fix (IRC reported) missing update for RNA Object's matrix_local property. Reported by @zeffii, thanks! --- source/blender/makesrna/intern/rna_object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3