diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-12-04 14:04:27 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-12-04 14:06:24 +0300 |
commit | c86e828eee8b7e7e0cde4fa211991b6ebac1ff0f (patch) | |
tree | 05f37c722996083aaad9847a48dd34ff251ffd14 | |
parent | df2635099bfcc32aa71963684641be8077b524cb (diff) |
Fix (IRC reported) missing update for RNA Object's matrix_local property.
Reported by @zeffii, thanks!
-rw-r--r-- | source/blender/makesrna/intern/rna_object.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |