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

Away3d and Starling using shared stage3DProxy #475

Closed
natami opened this issue Feb 11, 2013 · 1 comment
Closed

Away3d and Starling using shared stage3DProxy #475

natami opened this issue Feb 11, 2013 · 1 comment
Assignees

Comments

@natami
Copy link

natami commented Feb 11, 2013

When Away3D and Starling are sharing a stage3DProxy context, and one wants to dispose() the view3D, the stage3DProxy is also disposed in the view3D, resulting in a null pointer in Starling, as the shared stage3DProxy is now null.

Solution could be to check for:

public function dispose() : void {
if(!shareContext) {
_stage3DProxy.dispose()
} ...
}

@ringodotnl
Copy link
Member

Fixed in dev branch see commit af36a58

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

No branches or pull requests

2 participants