playcanvas / playcanvas/editor
Switching to camera view in the 3D viewport doesn't work if camera entity is disabled
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 215
- Avg merge
- 1d 29m
- Merged PRs (30d)
- 30
Description
Example project (you will need write access so fork the project): https://playcanvas.com/editor/scene/1299026
Reported: https://discord.com/channels/408617316415307776/408617316415307778/922857922130743296
Camera1 and Camera2 are disabled so changing the 3D viewport to use those cameras change the viewport. See video below:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in the linked example project, where Camera1 and Camera2 are disabled, and switch the 3D viewport between those cameras. Trace the viewport camera-selection behavior and verify that changing to a disabled camera produces the expected view; confirm the fix against both cameras.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100