Skip to content

Commit

Permalink
Fix continious update with Camera2D
Browse files Browse the repository at this point in the history
Closes #4406
  • Loading branch information
bojidar-bg committed Apr 23, 2016
1 parent 7d89a8b commit b2e0ced
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scene/2d/camera_2d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit b2e0ced

Please sign in to comment.