[Bf-blender-cvs] [e72e0321b38] greasepencil-object: GPencil: Remove debug printf
Antonio Vazquez
noreply at git.blender.org
Tue Nov 26 23:08:54 CET 2019
Commit: e72e0321b384cfe2b90fd0a2efaa61c6ef647011
Author: Antonio Vazquez
Date: Tue Nov 26 23:08:46 2019 +0100
Branches: greasepencil-object
https://developer.blender.org/rBe72e0321b384cfe2b90fd0a2efaa61c6ef647011
GPencil: Remove debug printf
===================================================================
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 e76c1f06311..a6df2f2e952 100644
--- a/source/blender/editors/gpencil/gpencil_data.c
+++ b/source/blender/editors/gpencil/gpencil_data.c
@@ -1668,12 +1668,6 @@ static void gp_bruh_delete_mode_brushes(Main *bmain, const enum eContextObjectMo
brush->gpencil_settings->flag &= ~GP_BRUSH_MATERIAL_PINNED;
}
- if (brush->id.us > 1) {
- continue;
- // printf("%s %d\n", brush->id.name + 2, brush->id.us);
- // id_us_plus(&brush->id);
- }
-
BKE_brush_delete(bmain, brush);
}
}
More information about the Bf-blender-cvs
mailing list