Skip to content

Fix formatting #3187

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public int selectionIndex
if (m_layerList != null) m_layerList.index = Math.Min(value, m_layerList.count - 1);
}
}


void AddLayerOfTypeCallback(object type)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -965,6 +965,5 @@ static internal void UnRegisterCustomPasses(HDRenderPipeline hdPipeline)
hdPipeline.asset.beforePostProcessCustomPostProcesses.Remove(typeof(AlphaInjection).AssemblyQualifiedName);
}
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ internal void RegisterInternalCamera(Camera camera)
{
s_CompositorManagedCameras.Add(camera);
}

internal void UnregisterInternalCamera(Camera camera)
{
s_CompositorManagedCameras.Remove(camera);
}

// Checks for any compositor allocated cameras that are now unused and frees their resources.
// Checks for any compositor allocated cameras that are now unused and frees their resources.
internal void CleanUpCameraOrphans(List<CompositorLayer> layers = null)
{
s_CompositorManagedCameras.RemoveAll(x => x == null);
Expand Down