From b2e0cedbf04c3d97bbf3bc41fac82ceeb34327a3 Mon Sep 17 00:00:00 2001 From: Bojidar Marinov Date: Sat, 23 Apr 2016 15:27:32 +0300 Subject: [PATCH] Fix continious update with Camera2D Closes #4406 --- scene/2d/camera_2d.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scene/2d/camera_2d.cpp b/scene/2d/camera_2d.cpp index 68d8b09e04d..fd8a0ed0f33 100644 --- a/scene/2d/camera_2d.cpp +++ b/scene/2d/camera_2d.cpp @@ -240,6 +240,10 @@ void Camera2D::_notification(int p_what) { add_to_group(group_name); add_to_group(canvas_group_name); + if(get_tree()->is_editor_hint()) { + set_fixed_process(false); + } + _update_scroll(); first=true;