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

Nanna arm camera remove #1041

Merged
merged 5 commits into from
Jul 18, 2022
Merged

Nanna arm camera remove #1041

merged 5 commits into from
Jul 18, 2022

Conversation

AlvaroHG
Copy link
Collaborator

@AlvaroHG AlvaroHG commented Jul 15, 2022

Removed Camera component from GripperCamera Prefab, disabling Component seemed to still render at least in Editor so removed after checking for any code references to this camera.

Camera Parameters for reference when adding back:
Screen Shot 2022-07-15 at 3 12 23 PM

@AlvaroHG AlvaroHG changed the base branch from main to nanna July 15, 2022 22:22
@Lucaweihs
Copy link
Collaborator

Oh interesting, it was still rendering even when disabled? Can we benchmark this on the python side? Perhaps run this build against the version before it was removed and a version where it's just disabled and compare FPS?

@AlvaroHG
Copy link
Collaborator Author

AlvaroHG commented Jul 18, 2022

I am not sure if it is rendering when disabled on the standalone release, reading about it should not render. In the editor it still shows a preview window for the camera even when disabled so I decided to go with the safer approach for the quick fix. I think we should merge this as the initial fix, and do the benchmarking for investigation since it's slightly unrelated and more about understanding Unity's general rules for camera components.

Copy link
Collaborator

@Lucaweihs Lucaweihs left a comment

Choose a reason for hiding this comment

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

Sounds good to me!

@AlvaroHG
Copy link
Collaborator Author

Merging

@AlvaroHG AlvaroHG merged commit 1e6c70b into nanna Jul 18, 2022
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.

None yet

2 participants