neumicha / Blender2Helios

Blender addon to convert a blender scene to a Helios scene (LiDAR simulation, 3D point clouds)
GNU General Public License v3.0
17 stars 7 forks source link

inter-platform operability added by removing '~' user directory #1

Closed Geogem closed 4 years ago

Geogem commented 4 years ago

The use of '~' in the default value of the helios installation path prohibited activation of the plugin on windows 10 machines, this was changed to a more cross-platform friendly "os.getcwd()" (even if this points to a different location, but it needs to be set by the user anyway).

neumicha commented 4 years ago

Thanks for pointing this out. It worked fine on my Windows 10 machine - but os.getcwd() is more cross-platform friendly. I will add some more code that avoids possible bugs with Windows directory paths.