Commit bf8b2f2e authored by Ell's avatar Ell
Browse files

app: avoid CRITICAL when moving empty floating selection

parent f28cb1c5
......@@ -764,12 +764,15 @@ gimp_edit_selection_tool_draw (GimpDrawTool *draw_tool)
break;
case GIMP_TRANSLATE_MODE_FLOATING_SEL:
gimp_draw_tool_add_boundary (draw_tool,
edit_select->segs_in,
edit_select->num_segs_in,
NULL,
edit_select->cuml_x,
edit_select->cuml_y);
if (edit_select->segs_in)
{
gimp_draw_tool_add_boundary (draw_tool,
edit_select->segs_in,
edit_select->num_segs_in,
NULL,
edit_select->cuml_x,
edit_select->cuml_y);
}
break;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment