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

[cpp] Fixes #1286 TrackEntry now resets renderer object #1293

Merged
merged 1 commit into from Mar 6, 2019

Conversation

SometimesMage
Copy link
Contributor

Found that the TrackEntry properly deletes the RendererObject (at least in the cocos2d-x code) but never sets that pointer back to NULL which leads to problems later since track entries are pooled (again, at least in cocos2d-x). This patch will set the RendererObject back NULL when a TrackEntry is reset.

@badlogic
Copy link
Collaborator

badlogic commented Mar 6, 2019

Cheers! And thanks for also proactively sending the CLA.

@badlogic badlogic merged commit 15547e1 into EsotericSoftware:3.8-beta Mar 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants