Fix error when reimporting model into different type when using LOD info
This commit is contained in:
@@ -431,7 +431,7 @@ namespace FlaxEditor.Viewport.Previews
|
||||
{
|
||||
base.Draw();
|
||||
|
||||
if (_showCurrentLOD)
|
||||
if (_showCurrentLOD && Model)
|
||||
{
|
||||
var asset = Model;
|
||||
var lodIndex = ComputeLODIndex(asset, out var screenSize);
|
||||
|
||||
Reference in New Issue
Block a user