summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/tests/gdscript_test_runner.cpp
diff options
context:
space:
mode:
authorMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2023-02-08 18:39:05 +0100
committerMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2023-06-08 16:15:22 +0200
commit5ddab1f363175cf676be1dbc1a10e818ece788da (patch)
treec6073602f988d7f82b4e4e27fe3e7f3c1fbef58b /modules/gdscript/tests/gdscript_test_runner.cpp
parent2985a9ac348fc0e08a7906ff36b08985e36ac2a4 (diff)
downloadredot-engine-5ddab1f363175cf676be1dbc1a10e818ece788da.tar.gz
Some code simplifications
AnimationNodeBlendSpace2DEditor: - `!tree` is always false, because it is checked a few lines above CurveEdit: - grabbing != GRAB_NONE is redundant GradientTexture2DEdit: - grabbed != HANDLE_FROM is redundant - grabbed != HANDLE_TO is redundant Viewport: - index is not used afterwards - In these cases `gui.mouse_focus` is always valid. Move check to a DEV_ASSERT - simplify `stopped` calculation
Diffstat (limited to 'modules/gdscript/tests/gdscript_test_runner.cpp')
0 files changed, 0 insertions, 0 deletions