GP: Fix fast drawing error

During the modifications of the drawing engine, this was changed by error.
This commit is contained in:
Antonioya
2018-08-17 11:08:56 +02:00
parent a9b82d5d79
commit a452e5e5e3
3 changed files with 4 additions and 4 deletions

View File

@@ -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;