[gimp] app: silence a harmless Gimp-Tools-CRITICAL
- From: Massimo Valentini <mvalentini src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: silence a harmless Gimp-Tools-CRITICAL
- Date: Fri, 18 Nov 2011 17:38:06 +0000 (UTC)
commit 82480557eaa381dc142aa90731017c1f72fdab30
Author: Massimo Valentini <mvalentini src gnome org>
Date: Fri Nov 18 18:36:29 2011 +0100
app: silence a harmless Gimp-Tools-CRITICAL
double-clicking on the preview of a newly created path
in paths dockable (to activate the vector tool) used to
show a
Gimp-Tools-CRITICAL **: gimp_draw_tool_add_path: ...
assertion `desc != NULL' failed
app/tools/gimpvectortool.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/tools/gimpvectortool.c b/app/tools/gimpvectortool.c
index 99174e3..97a3129 100644
--- a/app/tools/gimpvectortool.c
+++ b/app/tools/gimpvectortool.c
@@ -1411,7 +1411,7 @@ gimp_vector_tool_draw (GimpDrawTool *draw_tool)
vectors = vector_tool->vectors;
- if (!vectors)
+ if (! vectors || ! gimp_vectors_get_bezier (vectors))
return;
/* the stroke itself */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]