Skip to content

Indexing fix for debug presenter#33

Merged
mark-beiline merged 3 commits into
devfrom
mark/presenter-indexing-fix
May 3, 2023
Merged

Indexing fix for debug presenter#33
mark-beiline merged 3 commits into
devfrom
mark/presenter-indexing-fix

Conversation

@mark-beiline
Copy link
Copy Markdown
Collaborator

@mark-beiline mark-beiline commented May 2, 2023

Combines the insight from PR #29 with a schema-based approach to make it compatible with #27.

Cleanup in DisguiseRenderStream.cs along the way:

  • Exposed the schema
  • Combined the Streams and m_Cameras lists (they were 1-to-1) + CameraCapture objects. All 3 objects were already being created together in CreateStreams() for each stream.

Comment thread Runtime/DisguiseRenderStream.cs

GameObject[] m_Cameras = { };
ManagedSchema m_Schema = new ();

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor / Preference: I'm not a big fan of tuple because it creates super long typenames that need to be fixed a little bit everywhere in the code whenever we add / remove something in it. This is why I instead prefer a simple struct...

@mark-beiline mark-beiline merged commit e7e966b into dev May 3, 2023
@mark-beiline mark-beiline deleted the mark/presenter-indexing-fix branch May 3, 2023 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants