[Bf-blender-cvs] [fd1870b995f] blender2.8: GP: Small changes to assign color operator

Antonioya noreply at git.blender.org
Tue Sep 25 19:01:20 CEST 2018


Commit: fd1870b995fa4540c342526ca6525641bba5aab5
Author: Antonioya
Date:   Tue Sep 25 18:44:53 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBfd1870b995fa4540c342526ca6525641bba5aab5

GP: Small changes to assign color operator

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

M	source/blender/editors/gpencil/gpencil_data.c

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

diff --git a/source/blender/editors/gpencil/gpencil_data.c b/source/blender/editors/gpencil/gpencil_data.c
index 3f159c87b3c..439053957c5 100644
--- a/source/blender/editors/gpencil/gpencil_data.c
+++ b/source/blender/editors/gpencil/gpencil_data.c
@@ -1413,6 +1413,11 @@ static int gp_stroke_change_color_exec(bContext *C, wmOperator *op)
 					}
 				}
 			}
+			/* if not multiedit, exit loop*/
+			if (!is_multiedit) {
+				break;
+			}
+
 		}
 	}
 	CTX_DATA_END;



More information about the Bf-blender-cvs mailing list