Skip to content

Commit

Permalink
Fix string replacement bug
Browse files Browse the repository at this point in the history
Closes #34.
  • Loading branch information
ctrueden committed Mar 10, 2023
1 parent 87d6aaa commit fbd3808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/ij3d/SaveSession.java
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ private static final String getMeshString(final ContentInstant c) {
for (final CustomMesh cm : meshes) {
String name = cm.getName();
if (name == null) name = c.getName();
name.replaceAll(" ", "_").replaceAll("#", "--");
name = name.replaceAll(" ", "_").replaceAll("#", "--");
ret += "%%%" + cm.getFile() + "%%%" + name;
}
return ret.substring(3, ret.length());
Expand Down

0 comments on commit fbd3808

Please sign in to comment.