[Bf-blender-cvs] [a6395cebb72] blender2.8: Error in last commit

Campbell Barton noreply at git.blender.org
Fri Jun 1 08:31:42 CEST 2018


Commit: a6395cebb72b581afcafe916cefdd463a800a956
Author: Campbell Barton
Date:   Fri Jun 1 08:31:32 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBa6395cebb72b581afcafe916cefdd463a800a956

Error in last commit

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

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

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

diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c
index c41a1f412cb..3b8890eb2a4 100644
--- a/source/blender/editors/space_view3d/view3d_draw.c
+++ b/source/blender/editors/space_view3d/view3d_draw.c
@@ -1221,7 +1221,7 @@ void view3d_draw_region_info(const bContext *C, ARegion *ar, const int offset)
 			draw_selected_name(scene, ob, &rect);
 		}
 
-// #if 0 /* TODO */
+#if 0 /* TODO */
 		if (grid_unit) { /* draw below the viewport name */
 			char numstr[32] = "";
 
@@ -1235,7 +1235,7 @@ void view3d_draw_region_info(const bContext *C, ARegion *ar, const int offset)
 			        rect.ymax - (USER_SHOW_VIEWPORTNAME ? 2 * U.widget_unit : U.widget_unit), 0.0f,
 			        numstr[0] ? numstr : grid_unit, sizeof(numstr));
 		}
-// #endif
+#endif
 	}
 
 	BLF_batch_draw_end();



More information about the Bf-blender-cvs mailing list