Skip to content

Commit

Permalink
Fixed issue #1039.
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsschmidt1337 committed Aug 16, 2024
1 parent e08abd6 commit 47a6e65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/nschmidt/ldparteditor/text/PrimitiveReplacer.java
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ private static List<String> substitutePrimitivesTori(String name, List<String> l
}

final int length = toriName.length();
if (length == 8 && validToriName(toriName)) {
if (length == 8 && validToriName(toriName) && lines != null) {
try {
double major = 1;
double minor = 1;
Expand Down

0 comments on commit 47a6e65

Please sign in to comment.