[Bf-blender-cvs] [18be4d942b3] blender2.8: Fix build error on windows/MSVC

Dalai Felinto noreply at git.blender.org
Tue Oct 9 14:45:41 CEST 2018


Commit: 18be4d942b3e544d9d608b78362c8aaf10055b61
Author: Dalai Felinto
Date:   Tue Oct 9 12:45:00 2018 +0000
Branches: blender2.8
https://developer.blender.org/rB18be4d942b3e544d9d608b78362c8aaf10055b61

Fix build error on windows/MSVC

===================================================================

M	source/blender/editors/space_view3d/view3d_gizmo_empty.c

===================================================================

diff --git a/source/blender/editors/space_view3d/view3d_gizmo_empty.c b/source/blender/editors/space_view3d/view3d_gizmo_empty.c
index 8bbc9c8f553..fe1129f8028 100644
--- a/source/blender/editors/space_view3d/view3d_gizmo_empty.c
+++ b/source/blender/editors/space_view3d/view3d_gizmo_empty.c
@@ -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);



More information about the Bf-blender-cvs mailing list