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:
authorDalai Felinto <dfelinto@gmail.com>2018-08-15 15:54:31 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-08-15 16:06:11 +0300
commitad7cb024048b82b4d6cb3093a9c14ec51897d470 (patch)
tree4be033837037c982e58a5eea6acd5250cf3e5ec2 /source/blender/draw/modes/object_mode.c
parent6fb06d0cd8f3d076514d8a6b78415bcff07fa26a (diff)
Skip bundle names when drawing selection pass
Diffstat (limited to 'source/blender/draw/modes/object_mode.c')
-rw-r--r--source/blender/draw/modes/object_mode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/modes/object_mode.c b/source/blender/draw/modes/object_mode.c
index 0dd3f73096d..826d9df204d 100644
--- a/source/blender/draw/modes/object_mode.c
+++ b/source/blender/draw/modes/object_mode.c
@@ -1688,7 +1688,7 @@ static void DRW_shgroup_camera(OBJECT_StorageList *stl, Object *ob, ViewLayer *v
v3d->bundle_drawtype,
bundle_color);
- if (v3d->flag2 & V3D_SHOW_BUNDLENAME) {
+ if ((v3d->flag2 & V3D_SHOW_BUNDLENAME) && !is_select) {
struct DRWTextStore *dt = DRW_text_cache_ensure();
DRW_text_cache_add(dt,