Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2017-04-05 10:43:28 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-04-05 10:46:25 +0300
commit4dadb6d4453d84d537e25e753f7904ce5c8539fb (patch)
tree57421276b4aeaacfc2f8bc3d973295f8f6fd13d7 /source/blender/editors/space_view3d/drawarmature.c
parentbcd95dbdbb2dc397b72dbc9c2640340d3a51be99 (diff)
Naming constancy for 'imm' utility functions
- use 'imm_draw_' prefix for functions that draw. - use '_3d' suffix for 3d functions, no suffix for 2d functions. - use terms fill/wire (shorter than filled / lined). Also add `imm_draw_circle_fill_3d` (only had wire version)
Diffstat (limited to 'source/blender/editors/space_view3d/drawarmature.c')
-rw-r--r--source/blender/editors/space_view3d/drawarmature.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/drawarmature.c b/source/blender/editors/space_view3d/drawarmature.c
index 9d555cf7907..2e69cfcc901 100644
--- a/source/blender/editors/space_view3d/drawarmature.c
+++ b/source/blender/editors/space_view3d/drawarmature.c
@@ -1115,7 +1115,7 @@ static void draw_sphere_bone(const short dt, int armflag, int boneflag, short co
immUniform3fv("light", light_vec);
gpuTranslate3f(0.0f, 0.0f, head);
- imm_cylinder_nor(pos, nor, size2, size1, length - head - tail, 16, 1);
+ imm_draw_cylinder_fill_normal_3d(pos, nor, size2, size1, length - head - tail, 16, 1);
immUnbindProgram();