mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-13 07:38:09 +00:00
Fixed DefineShape4 SVG import NullPointerException
This commit is contained in:
@@ -365,7 +365,9 @@ public class SvgImporter {
|
||||
LINESTYLE2 lineStyle2Obj = null;
|
||||
if (shapeNum == 4) {
|
||||
lineStyle2Obj = scrStyle.lineStyles.lineStyles2.length < 1 ? null : scrStyle.lineStyles.lineStyles2[0];
|
||||
lineStyle2Obj.noClose = true;
|
||||
if (lineStyle2Obj != null) {
|
||||
lineStyle2Obj.noClose = true;
|
||||
}
|
||||
}
|
||||
|
||||
for (PathCommand command : commands) {
|
||||
|
||||
Reference in New Issue
Block a user