Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scene/main/scene_tree_fti.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ void SceneTreeFTI::_create_depth_lists() {

// This shouldn't happen, but wouldn't be terrible if it did.
DEV_ASSERT(depth >= 0);
depth = MIN(depth, (int32_t)data.scene_tree_depth_limit);
depth = MIN(depth, (int32_t)data.scene_tree_depth_limit - 1);

LocalVector<Node3D *> &dest_list = data.dirty_node_depth_lists[depth];
#ifdef GODOT_SCENE_TREE_FTI_EXTRA_CHECKS
Expand Down
2 changes: 1 addition & 1 deletion scene/main/scene_tree_fti.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class SceneTreeFTI {
};

struct Data {
static const uint32_t scene_tree_depth_limit = 32;
static const uint32_t scene_tree_depth_limit = 48;

// Prev / Curr lists of Node3Ds having local xforms pumped.
LocalVector<Node3D *> tick_xform_list[2];
Expand Down