OmniEngine.Net
OmniEngine.Net copied to clipboard
Handle null-pointer in PreLoadAllLOD
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.