In view2.5D extension if a shape is created, edited, deleted or imported no corresponding action happens in the 3D view.
Shapes can be turtle or link shapes.
Except in the case of editing a shape, an uncaught exception occurs.
To reproduce the bug.
Create a model that includes the following code
extensions [ view2.5d ]
to setup
view2.5d:remove-all-turtle-views
view2.5d:remove-all-turtle-views
view2.5d:turtle-view "Test" turtles [ the-turtle -> [3 + abs xcor] of the-turtle ]
wait 1
view2.5d:set-observer-distance "Test" 40
view2.5d:set-z-scale "Test" 2
view2.5d:set-observer-angles "Test" 25 30
;; increase the stem thickness
view2.5d:set-turtle-stem-thickness "Test" .2
view2.5d:update-turtle-view "Test" turtles
end
to create-ambulance
create-turtles 1 [ set color orange set size 4 set shape "ambulance" setxy -2 3]
view2.5d:update-turtle-view "Test" turtles
end
- Open the model
- Run the setup procedure
- Import the ambulance shape
- Open the Turtle Shapes Editor from the Tools menu
- Click on Import from Library ...
- Click on the ambulance entry
- Click Import
- Run the create-ambulance procedure
Result is
NetLogo is unable to supply you with more details about this error. Please report the problem
at https://github.com/NetLogo/NetLogo/issues, or to bugs@ccl.northwestern.edu, and paste the
contents of this window into your report.
com.jogamp.opengl.GLException: Caught NullPointerException: null on thread AWT-EventQueue-0
at com.jogamp.opengl.GLException.newGLException(GLException.java:76)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1327)
at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
at com.jogamp.opengl.awt.GLCanvas$12.run(GLCanvas.java:1442)
...
In view2.5D extension if a shape is created, edited, deleted or imported no corresponding action happens in the 3D view.
Shapes can be turtle or link shapes.
Except in the case of editing a shape, an uncaught exception occurs.
To reproduce the bug.
Create a model that includes the following code
Result is
...