Fixed uninitialized log member due to THEME_CHANGED notification
This commit is contained in:
parent
463123a661
commit
fb2eb66e40
|
@ -132,7 +132,6 @@ void EditorLog::_bind_methods() {
|
||||||
EditorLog::EditorLog() {
|
EditorLog::EditorLog() {
|
||||||
|
|
||||||
VBoxContainer *vb = this;
|
VBoxContainer *vb = this;
|
||||||
add_constant_override("separation", get_constant("separation", "VBoxContainer"));
|
|
||||||
|
|
||||||
HBoxContainer *hb = memnew(HBoxContainer);
|
HBoxContainer *hb = memnew(HBoxContainer);
|
||||||
vb->add_child(hb);
|
vb->add_child(hb);
|
||||||
|
@ -163,6 +162,8 @@ EditorLog::EditorLog() {
|
||||||
|
|
||||||
current = Thread::get_caller_id();
|
current = Thread::get_caller_id();
|
||||||
|
|
||||||
|
add_constant_override("separation", get_constant("separation", "VBoxContainer"));
|
||||||
|
|
||||||
EditorNode::get_undo_redo()->set_commit_notify_callback(_undo_redo_cbk, this);
|
EditorNode::get_undo_redo()->set_commit_notify_callback(_undo_redo_cbk, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue