Restore camera reset key binding#30
Restore camera reset key binding#30Sreoshh wants to merge 2 commits intoOpen-Source-Chandigarh:mainfrom
Conversation
Hi @Sreoshh, Great work noticing that the implementation for reset was already there! I have tested it this works as expected but can you change the commit message to follow the Conventional Commits Style, like for camera it will be feat(camera): add key to reset camera pos." |
3e06052 to
5d687cc
Compare
|
Updated according to the conventional style would keep in mind from next time. Also if helpful, I can follow this up by making camera reset defaults configurable which is otherwise hardcoded. |
Thank you! Go ahead with configurable implementation. @Sreoshh I will merge your PR once you are done. |
|
@dhruv0154 I’ve pushed the required changes for the default values to be configurable. Kindly let me know if anything else needs to be adjusted. |
Summary
This PR restores the camera reset functionality
What is Changed:
Pressing
Rnow:Resets the camera to its default position and resets the orientation to face the scene center.
The fix is implemented using the existing input binding system and the camera’s public reset API, keeping the change minimal and isolated.