Skip to content

Commit

Permalink
fixes saving-file bug in repair method
Browse files Browse the repository at this point in the history
  • Loading branch information
miho committed Jul 20, 2017
1 parent 9ccc59c commit 90e30c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle/project-info.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// -----------------------------------------------------------------------------
ext.publishing.artifactId = project.name.toLowerCase()
ext.publishing.groupId = 'eu.mihosoft.jcsg.ext.mesh'
ext.publishing.versionId = '0.5.0'
ext.publishing.versionId = '0.5.1'

ext.publishing.developerName = 'Michael Hoffer'
ext.publishing.developerAlias = 'miho'
Expand Down
5 changes: 5 additions & 0 deletions src/main/resources/eu/mihosoft/jcsg/ext/mesh/repair.lua
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,9 @@ end
if counter >= maxIter then
print(" -> ERROR while fixing mesh")
do return 1 end -- quit with exit code
end

print("> saving "..fileName)
if SaveMesh(mesh, fileName)==false then
print(" -> ERROR while saving file.")
end

0 comments on commit 90e30c2

Please sign in to comment.