Proposed fix for issue #635

Hum, yes the problem i evoked in the other thread is intern to the SDK… i didn’t call fromBoundingBox manually…just open a .j3o model by double click…my models are really recent (less than 3 days) so no old serialization (this fix was applied a week ago)…there is obligatorily a call to this method in the editor. Check where the picking is done…it happens when i select a geom in the node list for example.

@haze said: Hum, yes the problem i evoked in the other thread is intern to the SDK.. i didn't call fromBoundingBox manually...just open a .j3o model by double click...my models are really recent (less than 3 days) so no old serialization (this fix was applied a week ago)...there is obligatorily a call to this method in the editor. Check where the picking is done...it happens when i select a geom in the node list for example.

Thanks for the details. I’ll make sure to test that case.

It wasn’t a serialization issue… I think it’s that the SDK creates a bounding box for selection.

If you fixed the SDK then the instance-based method could go away.

My bad I assumed it was serialization because that occurred when opening a j3o.
Reading the stack trace made me reconsider indeed.

I pushed the fix-fix with commit 05c171e on jmonkeyengine/master

2 Likes