Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move check localPlayer to top #147

Merged
merged 1 commit into from
Feb 15, 2023
Merged

move check localPlayer to top #147

merged 1 commit into from
Feb 15, 2023

Conversation

maecry
Copy link
Contributor

@maecry maecry commented Dec 4, 2022

move check localPlayer to top before getting poseParams & animLayers since this make more sense than checking it after reading the layers and poseParams
p/s: I haven't used your things, just reading for learning purposes so idk but this make more sense to me + might avoid some crash if localPlayer was nullptr and you trying to read the data from nullptr?

move check localPlayer to top before getting poseParams & animLayers since this make more sense than checking it after reading the layers and poseParams
p/s: I haven't used your things, just reading for learning purposes so idk but this make more sense to me + might avoid some crash if localPlayer was nullptr and you trying to read the data from nullptr?
@degeneratehyperbola degeneratehyperbola merged commit 7e41ae8 into degeneratehyperbola:master Feb 15, 2023
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.

2 participants