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

Fix crash when adding and removing a billboard before next update. #2630

Merged
merged 1 commit into from
Apr 10, 2015

Conversation

mramato
Copy link
Contributor

@mramato mramato commented Apr 10, 2015

As reported on the forum, adding and then removing a billboard before the collection is updated causes a crash because we don't remove the billboards before trying to recreate the atlas (and then we call loadImage on the destroyed billboard). The new test I added fails in master but passes in this branch.

As [reported on the forum](https://groups.google.com/d/msg/cesium-dev/Ti4jLsugBq4/13Qo5_daa68J),
adding and then removing a billboard before the collection is updated
causes a crash because we don't remove the billboards before trying to
recreate the atlas.  The new test I added fails in master but passes in
this branch.
emackey added a commit to emackey/cesium that referenced this pull request Apr 10, 2015
@emackey
Copy link
Contributor

emackey commented Apr 10, 2015

Tests pass, including new test.

emackey added a commit that referenced this pull request Apr 10, 2015
Fix crash when adding and removing a billboard before next update.
@emackey emackey merged commit 831e467 into master Apr 10, 2015
@emackey emackey deleted the never-mind branch April 10, 2015 19:49
@pjcozzi
Copy link
Contributor

pjcozzi commented Apr 10, 2015

Update CHANGES.md in master if you think it is warranted.

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.

3 participants