summaryrefslogtreecommitdiff
path: root/editor/plugins/polygon_2d_editor_plugin.cpp
diff options
context:
space:
mode:
authorRyan Roden-Corrent <ryan@rcorre.net>2021-11-08 17:53:35 -0500
committerRyan Roden-Corrent <ryan@rcorre.net>2021-11-09 06:50:39 -0500
commit3bd7c4f2a93e2dfa495ffe68291a26b7112081e2 (patch)
treee9389d99c36b5c5754a9040d0b14335c8cd98d6e /editor/plugins/polygon_2d_editor_plugin.cpp
parentc89061e982a27ba6e5dc6ea54ae812976de2d2db (diff)
Clamp rotation for up/down orbiting shortcuts.
This prevents the viewport from going upside-down. This was suggested at: https://github.com/godotengine/godot/pull/51984#issuecomment-948614191: > For 3.4, I think we can just clamp the angle value when using the > camera orbiting shortcuts. We can investigate what to do with panning > and freelook in 3.5 and 4.0.
Diffstat (limited to 'editor/plugins/polygon_2d_editor_plugin.cpp')
0 files changed, 0 insertions, 0 deletions