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

Commit

Permalink
Fix issue when changing UICanvas.RenderMode
Browse files Browse the repository at this point in the history
  • Loading branch information
mafiesto4 committed Mar 27, 2019
1 parent 6637769 commit ec49953
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions FlaxEngine/API/Actors/UICanvas.cs
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,8 @@ private void Setup()
{
_renderer = New<CanvasRenderer>();
_renderer.Canvas = this;
if (IsActiveInHierarchy && Scene)
SceneRenderTask.GlobalCustomPostFx.Add(_renderer);
}
break;
}
Expand Down

0 comments on commit ec49953

Please sign in to comment.