OmniEngine.Net icon indicating copy to clipboard operation
OmniEngine.Net copied to clipboard

Handle null-pointer in PreLoadAllLOD

Open lukaspj opened this issue 10 years ago • 0 comments

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.

lukaspj avatar Jan 22 '15 14:01 lukaspj