summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_analyzer.cpp
diff options
context:
space:
mode:
authorArsh Panesar <arshpanesar.pro@gmail.com>2024-07-29 15:16:30 +0530
committerRémi Verschelde <rverschelde@gmail.com>2024-09-17 08:57:43 +0200
commit26cc13705acdbf423ba099c99c7d3fbc0e59d3b7 (patch)
tree92f5f48a91a3410769f85bda66bdd5c4f1c70221 /modules/gdscript/gdscript_analyzer.cpp
parentaf8caffd0e4aad00f8101546ebe8f7036581db26 (diff)
downloadredot-engine-26cc13705acdbf423ba099c99c7d3fbc0e59d3b7.tar.gz
Fix `AnimationPlayer` crash when it's made the scene root
When an AnimationPlayer is made root of a scene, the track links may become broken and clicking on them will crash. Current master branch also breaks node links when AnimationPlayer is made scene root, and can also crash the engine if another node was made scene root prior to the AnimationPlayer. This happens because when made root, the editor loses track of AnimPlayer's root node. By keeping a copy of the AnimPlayer's root_node, the track links remain functional. Fixes #91043. (cherry picked from commit e905be82491dc75cd6056d76875d2754c58ae59e)
Diffstat (limited to 'modules/gdscript/gdscript_analyzer.cpp')
0 files changed, 0 insertions, 0 deletions