Skip to content

Commit

Permalink
Prevent crash in #26
Browse files Browse the repository at this point in the history
An empty list is now returned instead of doing something which kills Godot. However, this solution is not final since we only output the error to the console at the moment. It's not trivial to let the GDNative layer know what went wrong, we might have to go with an Exception? Though Exceptions are unpopular in game programming...
  • Loading branch information
kb173 committed Jul 15, 2020
1 parent 717a776 commit c7c6064
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
Binary file modified demo/addons/geodot/x11/libVectorExtractor.so
Binary file not shown.
Binary file modified demo/addons/geodot/x11/libgeodot.so
Binary file not shown.
1 change: 1 addition & 0 deletions src/geodot.cpp
20 changes: 10 additions & 10 deletions src/vector-extractor/VectorExtractor.cpp

0 comments on commit c7c6064

Please sign in to comment.