summaryrefslogtreecommitdiff
path: root/scene/2d
diff options
context:
space:
mode:
authorAndreas Haas <liu.gam3@gmail.com>2017-04-02 09:46:51 +0200
committerAndreas Haas <liu.gam3@gmail.com>2017-04-02 09:46:51 +0200
commit1d3c9c448d805d0813a67efdd6677c312d72bb32 (patch)
treedbed32af33e87d1194d35c337887fb30865a9cc2 /scene/2d
parent6731924dcfa7451d8b31461b438fd2a5aa8af1f6 (diff)
Viewport: Fix undefined behaviour found by llvm sanitizer.
When godot was running as the project manager, it tried to call a method on a null pointer (get_tree()->get_edited_scene_root()). This is undefined behaviour and caused a crash when compiled with sanitizing enabled.
Diffstat (limited to 'scene/2d')
0 files changed, 0 insertions, 0 deletions