Skip to content
This repository was archived by the owner on Dec 24, 2020. It is now read-only.

Commit ec49953

Browse files
committed
Fix issue when changing UICanvas.RenderMode
1 parent 6637769 commit ec49953

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

FlaxEngine/API/Actors/UICanvas.cs

+2
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,8 @@ private void Setup()
343343
{
344344
_renderer = New<CanvasRenderer>();
345345
_renderer.Canvas = this;
346+
if (IsActiveInHierarchy && Scene)
347+
SceneRenderTask.GlobalCustomPostFx.Add(_renderer);
346348
}
347349
break;
348350
}

0 commit comments

Comments
 (0)