Closed rimadoma closed 6 years ago
I also get a NullPointerException at https://github.com/scenerygraphics/SciView/blob/master/src/main/java/sc/iview/viewing/RotateView.java#L20 when running SciView>View>Rotate, because there are no viewers. NPEs from anything else in the View-submenu. This is probably related to the same bug. Let me know if you want me to create separate issues.
I believe this is resolved now.
No matter how you create a view with a mesh (add your own programmatically, run SciView>Add Box...), trying to export an STL file causes a NullPointerException at https://github.com/scenerygraphics/SciView/blob/master/src/main/java/sc/iview/io/ExportSTL.java#L30 because there are no viewers in DefaultSciViewService.
Steps to reproduce
Environment