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:
authorAntonioya <blendergit@gmail.com>2019-02-28 13:45:23 +0300
committerAntonioya <blendergit@gmail.com>2019-02-28 19:13:05 +0300
commitd8f9797c28f176fd890a98f95be1e857958e622a (patch)
treea5e7878cdaf1bf27ae7f3426bc8ec6d0808d7857 /source/blender/draw
parent5411efdeed121f5c92e462382d2e224cc91fb2f7 (diff)
GPencil: Hide selecction outline when play animation
Diffstat (limited to 'source/blender/draw')
-rw-r--r--source/blender/draw/engines/gpencil/gpencil_engine.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/draw/engines/gpencil/gpencil_engine.c b/source/blender/draw/engines/gpencil/gpencil_engine.c
index 2ce7a53e968..3daf1320d85 100644
--- a/source/blender/draw/engines/gpencil/gpencil_engine.c
+++ b/source/blender/draw/engines/gpencil/gpencil_engine.c
@@ -4,6 +4,7 @@
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@@ -986,7 +987,7 @@ void GPENCIL_draw_scene(void *ved)
/* active select flag and selection color */
stl->storage->do_select = ((ob->base_flag & BASE_SELECTED) &&
(ob->mode == OB_MODE_OBJECT) &&
- (!is_render));
+ (!is_render) && (!playing));
/* if active object is not object mode, disable for all objects */
if ((draw_ctx->obact) && (draw_ctx->obact->mode != OB_MODE_OBJECT)) {