svgObjectModelGenerator
svgObjectModelGenerator copied to clipboard
Shapes and Image layers can not be created
Under unclassified circumstances, svgOMGeneratorShape an svgOMGeneratorImage can fall through all instances and fails. In this case, inOM doesn't have a shapeBounds property and svgOMG crashes in svgWriter.js.
I need to check the details. I can just imagine that for svgOMGeneratorShape we neither fulfill the requirements for a basic shape (circle, ellipse, rect) nor do have path data.
For image we don't seem to have rawPixels as property and therefor fail.
First, we maybe should mark these svgOMs that do not have a mapping to one of the known types and skip them in svgWriter at least.
Second, identify the actual cause of this problem.
is there a specific test file this happens with? please provide steps to repro.