Skip to content
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