jmonkeyengine icon indicating copy to clipboard operation
jmonkeyengine copied to clipboard

1982: Negative Native Object Id Issue

Open andygibson opened this issue 2 years ago • 3 comments

Prototype that seems to solve the problem ( #1982) with negative numbers being a valid object id and an indicator of whether the id/object is valid or not. If interested, I can polish it up a bit.

The changes start in NativeObject, and most of the other changes are in response to those changes.

andygibson avatar Jul 27 '23 20:07 andygibson

This is probably the right way to resolve this issue, but it can be a breaking change for third party libraries that relies on getId() to be == INVALID_ID

riccardobl avatar Aug 19 '23 11:08 riccardobl