Fix build error on windows/MSVC
authorDalai Felinto <dfelinto@gmail.com>
Tue, 9 Oct 2018 12:45:00 +0000 (12:45 +0000)
committerDalai Felinto <dfelinto@gmail.com>
Tue, 9 Oct 2018 12:45:00 +0000 (12:45 +0000)
source/blender/editors/space_view3d/view3d_gizmo_empty.c

index 8bbc9c8f553e46765b9588f6794ec09e40a0c173..fe1129f8028bf0db37470d542d60ee98fd601ccf 100644 (file)
@@ -96,7 +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);
+       DEG_id_tag_update(&ob->id, DEG_TAG_TRANSFORM);
 
        float dims[2];
        RNA_float_get_array(gz->ptr, "dimensions", dims);