diff options
-rw-r--r-- | source/blender/python/intern/bpy_rna.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c index 0d338cd4631..cbc75d35bce 100644 --- a/source/blender/python/intern/bpy_rna.c +++ b/source/blender/python/intern/bpy_rna.c @@ -71,6 +71,7 @@ static int mathutils_rna_vector_set(BPy_PropertyRNA *self, int subtype, float *v return 0; RNA_property_float_set_array(&self->ptr, self->prop, vec_to); + RNA_property_update(BPy_GetContext(), &self->ptr, self->prop); return 1; } @@ -89,6 +90,7 @@ static int mathutils_rna_vector_set_index(BPy_PropertyRNA *self, int subtype, fl return 0; RNA_property_float_set_index(&self->ptr, self->prop, index, vec_to[index]); + RNA_property_update(BPy_GetContext(), &self->ptr, self->prop); return 1; } @@ -119,6 +121,7 @@ static int mathutils_rna_matrix_set(BPy_PropertyRNA *self, int subtype, float *m return 0; RNA_property_float_set_array(&self->ptr, self->prop, mat_to); + RNA_property_update(BPy_GetContext(), &self->ptr, self->prop); return 1; } |