pass the object wire color along to drawing functions, too many places would use...
authorCampbell Barton <ideasman42@gmail.com>
Wed, 6 Jun 2012 18:00:08 +0000 (18:00 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 6 Jun 2012 18:00:08 +0000 (18:00 +0000)
commitb53b03ac1c9bbc194c2ac1f255f8017f1a78bdd2
treeedb05a3bbd7e187ff94c936cdab4985bc36034fe
parent47c96b6e402f23afeb2ee577745b1e9f0e1ae085
pass the object wire color along to drawing functions, too many places would use glGetFloatv(GL_CURRENT_COLOR, curcol), which also become confusing to debug if in some cases the color was set beforehand.
source/blender/blenlib/intern/math_color_inline.c
source/blender/editors/space_view3d/drawarmature.c
source/blender/editors/space_view3d/drawobject.c
source/blender/editors/space_view3d/view3d_draw.c
source/blender/editors/space_view3d/view3d_intern.h