gradient.rs: Log when referencing a nonexistent gradient

parent aaf92eb9
......@@ -426,6 +426,8 @@ fn acquire_gradient<'a>(draw_ctx: &'a mut DrawingCtx<'_>, name: &str) -> Option<
}
}
rsvg_log!("element \"{}\" does not exist or is not a gradient", name);
None
}
......
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