Collisions editing progress

This commit is contained in:
dexy
2020-01-11 19:20:14 +11:00
Unverified
parent 44cf8ee1d2
commit 16982d7219
8 changed files with 538 additions and 18 deletions
+1 -1
View File
@@ -3261,7 +3261,7 @@ namespace CodeWalker.Rendering
}
RenderableBoundComposite rndbc = renderableCache.GetRenderableBoundComp(bounds);
if (rndbc.IsLoaded)
if ((rndbc != null) && rndbc.IsLoaded)
{
RenderableBoundGeometryInst rbginst = new RenderableBoundGeometryInst();
rbginst.Inst.Renderable = rndbc;