Moved member variables to initializer list

This commit is contained in:
Wilson E. Alvarez
2018-12-08 15:07:33 -05:00
parent 41d1dba35f
commit 08f22f1cf0
44 changed files with 609 additions and 694 deletions

View File

@ -829,11 +829,11 @@ void EditorPlugin::_bind_methods() {
BIND_ENUM_CONSTANT(DOCK_SLOT_MAX);
}
EditorPlugin::EditorPlugin() {
undo_redo = NULL;
input_event_forwarding_always_enabled = false;
force_draw_over_forwarding_enabled = false;
last_main_screen_name = "";
EditorPlugin::EditorPlugin() :
undo_redo(NULL),
input_event_forwarding_always_enabled(false),
force_draw_over_forwarding_enabled(false),
last_main_screen_name("") {
}
EditorPlugin::~EditorPlugin() {