jMonkeyEngine / sdk

The jMonkeyEngine3 Software Development Kit based on Netbeans
BSD 3-Clause "New" or "Revised" License
314 stars 100 forks source link

Node bounding box doesn't update on undo geometry movement #26

Open dokthar opened 8 years ago

dokthar commented 8 years ago

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

MeFisto94 commented 8 years ago

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)

neph1 commented 2 years ago

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.

MeFisto94 commented 2 years ago

With regards to the edit: Is it then just a matter of us calling some refresh on the currently selected node, from within undo?