Merge branch 'remove-ui-render-task' of https://github.com/Tryibion/FlaxEngine into Tryibion-remove-ui-render-task
This commit is contained in:
@@ -843,6 +843,13 @@ namespace FlaxEngine
|
||||
|
||||
if (_renderer)
|
||||
{
|
||||
#if FLAX_EDITOR
|
||||
if (_editorTask != null)
|
||||
{
|
||||
_editorTask.RemoveCustomPostFx(_renderer);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
SceneRenderTask.RemoveGlobalCustomPostFx(_renderer);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user