Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_gizmo_empty.c')
-rw-r--r--source/blender/editors/space_view3d/view3d_gizmo_empty.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/view3d_gizmo_empty.c b/source/blender/editors/space_view3d/view3d_gizmo_empty.c
index 2913ba245e7..8bbc9c8f553 100644
--- a/source/blender/editors/space_view3d/view3d_gizmo_empty.c
+++ b/source/blender/editors/space_view3d/view3d_gizmo_empty.c
@@ -31,6 +31,8 @@
#include "BKE_object.h"
#include "BKE_image.h"
+#include "DEG_depsgraph.h"
+
#include "DNA_object_types.h"
#include "DNA_lamp_types.h"
@@ -94,6 +96,7 @@ static void gizmo_empty_image_prop_matrix_set(
Object *ob = igzgroup->state.ob;
ob->empty_drawsize = matrix[0][0];
+ DEG_id_tag_update(ob, DEG_TAG_TRANSFORM);
float dims[2];
RNA_float_get_array(gz->ptr, "dimensions", dims);