Fix drawing incorrect LOD transition when using 2 cameras in a scene at once

#4055
This commit is contained in:
2026-04-16 23:24:53 +02:00
parent 9350a4a706
commit cb2f2bf644
+1 -1
View File
@@ -111,7 +111,7 @@ FORCE_INLINE void ModelDraw(ModelType* model, const RenderContext& renderContext
}
// Draw
if (info.DrawState->PrevLOD == lodIndex || renderContext.View.IsSingleFrame)
if (info.DrawState->PrevLOD == lodIndex || info.DrawState->LODTransition == 255 || renderContext.View.IsSingleFrame)
{
model->LODs.Get()[lodIndex].Draw(context, info, 0.0f);
}