summaryrefslogtreecommitdiff
path: root/scene/resources/bit_map.cpp
diff options
context:
space:
mode:
authorsmix8 <52464204+smix8@users.noreply.github.com>2022-05-15 20:29:23 +0200
committersmix8 <52464204+smix8@users.noreply.github.com>2022-05-15 20:29:23 +0200
commitcc707412e909f117ad53ebe53e19bad43acf086a (patch)
tree534e88ff40292ec8a4cd7b1d6c8498b9543cedcb /scene/resources/bit_map.cpp
parent6d5d9dd82ad263ae69afc01e73e47320c1f68c04 (diff)
Fix NavigationObstacle2D/3D get_global_transform() error
Fixes NavigationObstacle2D/3D reporting a 'get_global_transform: Condition "!is_inside_tree()" error when estimating the agent radius. The collisionshapes that are lower in the SceneTree order than the obstacle node are not loaded in the SceneTree yet so the global_transform function fails. Also adds warning message when this happens.
Diffstat (limited to 'scene/resources/bit_map.cpp')
0 files changed, 0 insertions, 0 deletions