[WIP] Remove incorrect debug assertion
This commit is contained in:
parent
4d53ab60fc
commit
f730e5d2db
|
@ -155,7 +155,6 @@ pub fn draw_paths_into_scene(library: &SymbolLibrary, scene: &mut Scene) {
|
||||||
// NOTE: Right now symbols only contain graphics.
|
// NOTE: Right now symbols only contain graphics.
|
||||||
if let Symbol::Graphic(graphic) = symbol {
|
if let Symbol::Graphic(graphic) = symbol {
|
||||||
for style_layer in graphic.layers() {
|
for style_layer in graphic.layers() {
|
||||||
debug_assert_ne!(style_layer.shapes().len(), 0);
|
|
||||||
let mut path = Outline::new();
|
let mut path = Outline::new();
|
||||||
let paint_id = scene.push_paint(&style_layer.fill());
|
let paint_id = scene.push_paint(&style_layer.fill());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue