Remove redundant "== false" code

Some of this code has been re-organized.
f
This commit is contained in:
Aaron Franke 2018-10-06 16:20:41 -04:00
parent 37386f112b
commit 4f7b33cdcf
33 changed files with 81 additions and 73 deletions

View file

@ -3889,7 +3889,7 @@ void EditorNode::_scene_tab_closed(int p_tab) {
}
void EditorNode::_scene_tab_hover(int p_tab) {
if (bool(EDITOR_GET("interface/scene_tabs/show_thumbnail_on_hover")) == false) {
if (!bool(EDITOR_GET("interface/scene_tabs/show_thumbnail_on_hover"))) {
return;
}
int current_tab = scene_tabs->get_current_tab();