@@ -237,6 +237,12 @@ void Renderer::Render(SceneRenderTask* task)
|
|||||||
| ViewFlags::ContactShadows
|
| ViewFlags::ContactShadows
|
||||||
| ViewFlags::DepthOfField);
|
| ViewFlags::DepthOfField);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Force Debug Draw usage in some specific views that depend on it
|
||||||
|
if (renderContext.View.Mode == ViewMode::PhysicsColliders)
|
||||||
|
{
|
||||||
|
renderContext.View.Flags |= ViewFlags::DebugDraw;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Perform the actual rendering
|
// Perform the actual rendering
|
||||||
|
|||||||
Reference in New Issue
Block a user