[Bf-blender-cvs] [f43067b109e] greasepencil-object: GPencil: Cleanup comments
Antonio Vazquez
noreply at git.blender.org
Tue Jul 21 20:19:45 CEST 2020
Commit: f43067b109e2171c2fb729ac0f681f8eac6807c2
Author: Antonio Vazquez
Date: Tue Jul 21 20:19:36 2020 +0200
Branches: greasepencil-object
https://developer.blender.org/rBf43067b109e2171c2fb729ac0f681f8eac6807c2
GPencil: Cleanup comments
===================================================================
M source/blender/editors/gpencil/gpencil_trace_utils.c
===================================================================
diff --git a/source/blender/editors/gpencil/gpencil_trace_utils.c b/source/blender/editors/gpencil/gpencil_trace_utils.c
index b5dce63be84..f1974c40390 100644
--- a/source/blender/editors/gpencil/gpencil_trace_utils.c
+++ b/source/blender/editors/gpencil/gpencil_trace_utils.c
@@ -250,8 +250,7 @@ void ED_gpencil_trace_data_to_strokes(Main *bmain,
const int resolution,
const int thickness)
{
- /* If the object has materials means it was created in a previous run.
- * Check only filled slots. */
+ /* Find materials and create them if not found. */
int mat_fill_idx = BKE_gpencil_material_find_index_by_name_prefix(ob, "Stroke");
int mat_mask_idx = BKE_gpencil_material_find_index_by_name_prefix(ob, "Mask");
More information about the Bf-blender-cvs
mailing list