[Bf-blender-cvs] [56dea4b7cd6] blender2.8: Fix warning in view3d_draw.

Clément Foucault noreply at git.blender.org
Mon Jun 19 16:31:26 CEST 2017


Commit: 56dea4b7cd6927dc3676a53c8a9c339545d93d63
Author: Clément Foucault
Date:   Mon Jun 19 16:31:20 2017 +0200
Branches: blender2.8
https://developer.blender.org/rB56dea4b7cd6927dc3676a53c8a9c339545d93d63

Fix warning in view3d_draw.

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

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 7c057723b72..0cfc11f22b8 100644
--- a/source/blender/editors/space_view3d/view3d_draw.c
+++ b/source/blender/editors/space_view3d/view3d_draw.c
@@ -1463,7 +1463,7 @@ static void draw_view_axis(RegionView3D *rv3d, rcti *rect)
 
 #ifdef WITH_INPUT_NDOF
 /* draw center and axis of rotation for ongoing 3D mouse navigation */
-static void draw_rotation_guide(RegionView3D *rv3d)
+static void UNUSED_FUNCTION(draw_rotation_guide)(RegionView3D *rv3d)
 {
 	float o[3];    /* center of rotation */
 	float end[3];  /* endpoints for drawing */




More information about the Bf-blender-cvs mailing list