[Bf-blender-cvs] [afdbad9924b] greasepencil-object: Fix missing line of previous commit

Antonio Vazquez noreply at git.blender.org
Wed Sep 13 09:28:22 CEST 2017


Commit: afdbad9924bd6de899201405aec6ab9b42d92c01
Author: Antonio Vazquez
Date:   Wed Sep 13 09:28:15 2017 +0200
Branches: greasepencil-object
https://developer.blender.org/rBafdbad9924bd6de899201405aec6ab9b42d92c01

Fix missing line of previous commit

===================================================================

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 78d422bc861..856dd1687a0 100644
--- a/source/blender/draw/engines/gpencil/gpencil_engine.c
+++ b/source/blender/draw/engines/gpencil/gpencil_engine.c
@@ -388,8 +388,8 @@ static void GPENCIL_cache_finish(void *vedata)
 	bool is_multiedit = false; 
 	bool playing = (bool)stl->storage->playing;
 
-	/* if painting session is ready, don't need to do more */
-	if (stl->g_data->session_flag & GP_DRW_PAINT_READY) {
+	/* if painting session, don't need to do more */
+	if (stl->g_data->session_flag & GP_DRW_PAINT_PAINTING) {
 		return;
 	}



More information about the Bf-blender-cvs mailing list