summaryrefslogtreecommitdiff
path: root/scene/3d/skeleton_3d.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-06-08 13:05:09 +0200
committerRémi Verschelde <rverschelde@gmail.com>2020-06-08 13:07:07 +0200
commitc080ec5da220474a80789afa33cc4f5612cddb50 (patch)
tree8c753ac23e3ed3a99b9289b7ac6e6b81f609e821 /scene/3d/skeleton_3d.cpp
parent87b2d3f9cf2dee1f885eaba9d17215ecbcacf391 (diff)
PackedScene: Prevent crash when root node has `parent` attribute
The crash happens further down when setting an invalid owner in `Node::_set_owner_nocheck` but I couldn't figure out how to fix it. But here the proper fix is to catch the invalid scene file early on and fail loading it. Part of #17372.
Diffstat (limited to 'scene/3d/skeleton_3d.cpp')
0 files changed, 0 insertions, 0 deletions