Skip to content
Permalink
Browse files

[Rendering] Fixed RenderContext.GetCurrentCamera() tag owner

  • Loading branch information
xen2 committed Feb 13, 2019
1 parent 034abed commit c855896753530454e6ed8678ff55817b66724639
Showing with 1 addition and 1 deletion.
  1. +1 −1 sources/engine/Xenko.Engine/Rendering/CameraComponentRendererExtensions.cs
@@ -12,7 +12,7 @@ public static class CameraComponentRendererExtensions
/// <summary>
/// Property key to access the current collection of <see cref="CameraComponent"/> from <see cref="RenderContext.Tags"/>.
/// </summary>
public static readonly PropertyKey<CameraComponent> Current = new PropertyKey<CameraComponent>("CameraComponentRenderer.CurrentCamera", typeof(CameraComponent));
public static readonly PropertyKey<CameraComponent> Current = new PropertyKey<CameraComponent>("CameraComponentRenderer.CurrentCamera", typeof(RenderContext));

public static CameraComponent GetCurrentCamera(this RenderContext context)
{

0 comments on commit c855896

Please sign in to comment.
You can’t perform that action at this time.