sdk
sdk copied to clipboard
Node bounding box doesn't update on undo geometry movement
From @ghost on March 24, 2014
Reference on googlecode: https://code.google.com/p/jmonkeyengine/issues/detail?id=398
Copied from original issue: jMonkeyEngine/jmonkeyengine#42
Actually this Issue seems fixed to me but since you're working on that code, you have the final say.
Note that the Bounding Box of the Node doesn't match those of the Geometries, but there is no easy way to create a boundbox and ensuring it contains all the children (or atleast this is a seperate Issue)
I can't reproduce this. Suggest we close it.
Edit: Actually I can reproduce it if the Node is selected while performing the undo. But it's corrected once another selection is made.
With regards to the edit: Is it then just a matter of us calling some refresh on the currently selected node, from within undo?