GPencil: Hide selecction outline when play animation

This commit is contained in:
2019-02-28 11:45:23 +01:00
parent 5411efdeed
commit d8f9797c28

View File

@@ -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)) {