[Bf-blender-cvs] [94c459147e3] greasepencil-object: Enable grid when play animation
Antonioya
noreply at git.blender.org
Sat Jul 28 20:42:18 CEST 2018
Commit: 94c459147e39b3a8d1dd97904d4dc89ba9b22620
Author: Antonioya
Date: Sat Jul 28 20:42:07 2018 +0200
Branches: greasepencil-object
https://developer.blender.org/rB94c459147e39b3a8d1dd97904d4dc89ba9b22620
Enable grid when play animation
===================================================================
M source/blender/draw/engines/gpencil/gpencil_engine.c
===================================================================
diff --git a/source/blender/draw/engines/gpencil/gpencil_engine.c b/source/blender/draw/engines/gpencil/gpencil_engine.c
index ab2efc283a8..aed967a77de 100644
--- a/source/blender/draw/engines/gpencil/gpencil_engine.c
+++ b/source/blender/draw/engines/gpencil/gpencil_engine.c
@@ -482,7 +482,7 @@ void GPENCIL_cache_populate(void *vedata, Object *ob)
DRW_gpencil_populate_buffer_strokes(&e_data, vedata, ts, ob);
/* grid */
- if ((v3d) && (!playing) &&
+ if ((v3d) &&
((v3d->flag2 & V3D_RENDER_OVERRIDE) == 0) &&
(v3d->flag3 & V3D_GP_SHOW_GRID) &&
(ob->type == OB_GPENCIL) && (ob == draw_ctx->obact))
More information about the Bf-blender-cvs
mailing list