Skip to content

Handle null-pointer in PreLoadAllLOD#35

Open
lukaspj wants to merge 1 commit intoWinterleaf:masterfrom
lukaspj:HandleNullPointPreloadLOD
Open

Handle null-pointer in PreLoadAllLOD#35
lukaspj wants to merge 1 commit intoWinterleaf:masterfrom
lukaspj:HandleNullPointPreloadLOD

Conversation

@lukaspj
Copy link
Contributor

@lukaspj lukaspj commented Jan 22, 2015

When you have a camera without a shape, then mShapeInstance will be null.

This commit adds a check for whether mShapeInstance is null before preloading LOD's, to prevent a crash with free-roaming cameras.

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