-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Milestone
Description
I can not do pull requests anymore on github, along with many other issues with gitflub, so will just post the issue and fix here. Someone will have to test it out.
Node returns null bounding volume when it has no children.
See this forum post:
https://hub.jmonkeyengine.org/t/lemur-simtools-patch-stravaganza/41094/61
Suggested fix by pspeed is change this line:
this.worldBound = resultBound;
to
this.worldBound = resultBound != null ? resultBound : new BoundingBox(getWorldTranslation(), 0, 0, 0):
https://github.com/jMonkeyEngine/jmonkeyengine/blob/master/jme3-core/src/main/java/com/jme3/scene/Node.java#L173
or something like it.
Metadata
Metadata
Assignees
Labels
No labels