diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-06-19 10:47:04 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-06-19 10:52:26 +0300 |
commit | 7b14065729af4266bffbf70ef0de3bd646ec555c (patch) | |
tree | bbb13136b933e369227cea9f1baafdc455a93806 /source/blender/editors/manipulator_library/manipulator_draw_utils.c | |
parent | 2ecb9856bc3a77354c9785a7119a0904d11e0d8c (diff) |
Manipulator: de-duplicate flags and scale option
Diffstat (limited to 'source/blender/editors/manipulator_library/manipulator_draw_utils.c')
-rw-r--r-- | source/blender/editors/manipulator_library/manipulator_draw_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/manipulator_library/manipulator_draw_utils.c b/source/blender/editors/manipulator_library/manipulator_draw_utils.c index d9434be8e0a..cfa1bc38ed5 100644 --- a/source/blender/editors/manipulator_library/manipulator_draw_utils.c +++ b/source/blender/editors/manipulator_library/manipulator_draw_utils.c @@ -63,7 +63,7 @@ void wm_manipulator_geometryinfo_draw(const ManipulatorGeomInfo *info, const boo /* TODO store the Batches inside the ManipulatorGeomInfo and updated it when geom changes * So we don't need to re-created and discard it every time */ - const bool use_lighting = true || (!select && ((U.manipulator_flag & V3D_SHADED_MANIPULATORS) != 0)); + const bool use_lighting = true || (!select && ((U.manipulator_flag & USER_MANIPULATOR_SHADED) != 0)); VertexBuffer *vbo; ElementList *el; Batch *batch; |