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-20 20:20:25 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-08-20 20:20:25 +0300
commit53dfb4895cca946bffc764869287203d61d564ef (patch)
treed52d10633bde6d3fc2a06b3b3d1eeb7f030ca603 /source/blender/draw/modes/object_mode.c
parentbfdaa9a979890ec4c5a27055052b2798ad327da3 (diff)
Fix relationship lines selectable
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 4bd917163be..5cf6ed96b55 100644
--- a/source/blender/draw/modes/object_mode.c
+++ b/source/blender/draw/modes/object_mode.c
@@ -2764,7 +2764,7 @@ static void OBJECT_cache_populate(void *vedata, Object *ob)
DRW_shgroup_object_center(stl, ob, view_layer, v3d);
}
- if (show_relations) {
+ if (show_relations && !DRW_state_is_select()) {
DRW_shgroup_relationship_lines(sgl, draw_ctx->depsgraph, scene, ob);
}