chadrockey / TGC-Designer-Tools

Tools to support course creation and Lidar/Terrain Creation in The Golf Club 2019.
Apache License 2.0
45 stars 28 forks source link

Index out of bounds error #53

Closed mfvaughan closed 4 years ago

mfvaughan commented 4 years ago

Receiving following error after generating and editing mask.png and trying to "Select and Import Heightmap and OSM into Course", any ideas?

Exception in Tkinter callback Traceback (most recent call last): File "tkinter\__init__.py", line 1705, in __call__ File "tgc_gui.py", line 547, in generateCourseFromLidar File "tgc_image_terrain.py", line 197, in generate_course File "infill_image.py", line 58, in infill_image_scipy IndexError: index 437 is out of bounds for axis 1 with size 437

mfvaughan commented 4 years ago

Woops, I had cropped the image. That was the issue.