Skip to content

Fix misuse of constants - #2950

Open
riccardobl wants to merge 1 commit into
jMonkeyEngine:masterfrom
riccardobl:fixmutv
Open

Fix misuse of constants#2950
riccardobl wants to merge 1 commit into
jMonkeyEngine:masterfrom
riccardobl:fixmutv

Conversation

@riccardobl

Copy link
Copy Markdown
Member

This PR fixes several cases of constants misuse that could end up being mutated, and one case where the code used the wrong constant.

Since passing references is often intentional in jme, I made sure to clone objects only when passing a reference was already causing the internal state to break.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant