Merge pull request #63084 from madmiraal/fix-56336-3.x
This commit is contained in:
commit
090d9f6d25
2 changed files with 3 additions and 3 deletions
|
@ -437,7 +437,7 @@ void Camera2D::clear_current() {
|
|||
void Camera2D::set_limit(Margin p_margin, int p_limit) {
|
||||
ERR_FAIL_INDEX((int)p_margin, 4);
|
||||
limit[p_margin] = p_limit;
|
||||
update();
|
||||
_update_scroll();
|
||||
}
|
||||
|
||||
int Camera2D::get_limit(Margin p_margin) const {
|
||||
|
|
|
@ -2168,8 +2168,8 @@ SceneTree::SceneTree() {
|
|||
GLOBAL_DEF("debug/shapes/collision/draw_2d_outlines", true);
|
||||
|
||||
tree_version = 1;
|
||||
physics_process_time = 1;
|
||||
idle_process_time = 1;
|
||||
physics_process_time = 0.f;
|
||||
idle_process_time = 0.f;
|
||||
|
||||
root = nullptr;
|
||||
input_handled = false;
|
||||
|
|
Loading…
Reference in a new issue