diff options
author | Antonioya <blendergit@gmail.com> | 2018-08-17 12:08:56 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-08-17 12:09:08 +0300 |
commit | a452e5e5e36deb49e3b06a252e4e280f79d31973 (patch) | |
tree | aa03e7c5444c20f5037354a670595cd02f672bf6 /source | |
parent | a9b82d5d7934b554f46668260fd9bd647e6aeb0b (diff) |
GP: Fix fast drawing error
During the modifications of the drawing engine, this was changed by error.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/draw/engines/gpencil/gpencil_engine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/engines/gpencil/gpencil_engine.c b/source/blender/draw/engines/gpencil/gpencil_engine.c index 148f36ba052..59336561456 100644 --- a/source/blender/draw/engines/gpencil/gpencil_engine.c +++ b/source/blender/draw/engines/gpencil/gpencil_engine.c @@ -382,9 +382,9 @@ void GPENCIL_cache_init(void *vedata) (stl->storage->is_playing == false)) { if (((obact_gpd->runtime.sbuffer_sflag & GP_STROKE_ERASER) == 0) && - (obact_gpd->runtime.sbuffer_size > 1)) + (obact_gpd->runtime.sbuffer_size > 0)) { - stl->g_data->session_flag = GP_DRW_PAINT_PAINTING; + stl->g_data->session_flag |= GP_DRW_PAINT_PAINTING; } else { stl->g_data->session_flag = GP_DRW_PAINT_IDLE; |