Merge pull request #57732 from KoBeWi/leftplication

Move Replication tab to a fixed position
This commit is contained in:
Rémi Verschelde 2022-02-07 08:14:30 +01:00 committed by GitHub
commit c2a540de51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6969,6 +6969,7 @@ EditorNode::EditorNode() {
// more visually meaningful to have this later // more visually meaningful to have this later
raise_bottom_panel_item(AnimationPlayerEditor::get_singleton()); raise_bottom_panel_item(AnimationPlayerEditor::get_singleton());
add_editor_plugin(memnew(ReplicationEditorPlugin(this)));
add_editor_plugin(VersionControlEditorPlugin::get_singleton()); add_editor_plugin(VersionControlEditorPlugin::get_singleton());
add_editor_plugin(memnew(ShaderEditorPlugin(this))); add_editor_plugin(memnew(ShaderEditorPlugin(this)));
@ -7022,7 +7023,6 @@ EditorNode::EditorNode() {
add_editor_plugin(memnew(InputEventEditorPlugin(this))); add_editor_plugin(memnew(InputEventEditorPlugin(this)));
add_editor_plugin(memnew(SubViewportPreviewEditorPlugin(this))); add_editor_plugin(memnew(SubViewportPreviewEditorPlugin(this)));
add_editor_plugin(memnew(TextControlEditorPlugin(this))); add_editor_plugin(memnew(TextControlEditorPlugin(this)));
add_editor_plugin(memnew(ReplicationEditorPlugin(this)));
for (int i = 0; i < EditorPlugins::get_plugin_count(); i++) { for (int i = 0; i < EditorPlugins::get_plugin_count(); i++) {
add_editor_plugin(EditorPlugins::create(i, this)); add_editor_plugin(EditorPlugins::create(i, this));