[Bf-blender-cvs] [9a22b32e7e] blender2.8: Make imm_drawcircball public

Luca Rood noreply at git.blender.org
Thu Feb 2 17:30:07 CET 2017


Commit: 9a22b32e7e2a791e055b67d8c268d11364aeda37
Author: Luca Rood
Date:   Thu Feb 2 03:13:41 2017 -0200
Branches: blender2.8
https://developer.blender.org/rB9a22b32e7e2a791e055b67d8c268d11364aeda37

Make imm_drawcircball public

(Approved by merwin in IRC)

Required by part of T49043

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

M	source/blender/editors/include/ED_view3d.h
M	source/blender/editors/space_view3d/drawobject.c

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

diff --git a/source/blender/editors/include/ED_view3d.h b/source/blender/editors/include/ED_view3d.h
index 79176d9e9c..53253c1274 100644
--- a/source/blender/editors/include/ED_view3d.h
+++ b/source/blender/editors/include/ED_view3d.h
@@ -277,6 +277,7 @@ float ED_view3d_radius_to_dist(
         const float radius);
 
 void drawcircball(int mode, const float cent[3], float rad, const float tmat[4][4]);
+void imm_drawcircball(const float cent[3], float rad, const float tmat[4][4], unsigned pos);
 
 /* backbuffer select and draw support */
 void          ED_view3d_backbuf_validate(struct ViewContext *vc);
diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c
index 1692d3a737..d084112912 100644
--- a/source/blender/editors/space_view3d/drawobject.c
+++ b/source/blender/editors/space_view3d/drawobject.c
@@ -787,7 +787,7 @@ void drawcircball(int mode, const float cent[3], float rad, const float tmat[4][
 	glDisableClientState(GL_VERTEX_ARRAY);
 }
 
-static void imm_drawcircball(const float cent[3], float rad, const float tmat[4][4], unsigned pos)
+void imm_drawcircball(const float cent[3], float rad, const float tmat[4][4], unsigned pos)
 {
 	float verts[CIRCLE_RESOL][3];




More information about the Bf-blender-cvs mailing list