[WIP] Remove incorrect debug assertion

This commit is contained in:
Jon Hardie 2019-06-21 11:12:10 +12:00
parent 4d53ab60fc
commit f730e5d2db
1 changed files with 0 additions and 1 deletions

View File

@ -155,7 +155,6 @@ pub fn draw_paths_into_scene(library: &SymbolLibrary, scene: &mut Scene) {
// NOTE: Right now symbols only contain graphics.
if let Symbol::Graphic(graphic) = symbol {
for style_layer in graphic.layers() {
debug_assert_ne!(style_layer.shapes().len(), 0);
let mut path = Outline::new();
let paint_id = scene.push_paint(&style_layer.fill());