Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions editor/editor.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}
},
"InputSystem": {
"height": 991,
"height": 793,
"inputSchemes": {
"Editor": {
"bools": [
Expand Down Expand Up @@ -74,7 +74,7 @@
}
},
"startScheme": "Editor",
"width": 1920
"width": 1536
},
"ParticleSystem": {
"culling": {
Expand All @@ -91,8 +91,8 @@
},
"PhysicsSystem": {},
"UISystem": {
"height": 991,
"width": 1920
"height": 793,
"width": 1536
}
},
"version": 1.0,
Expand Down
4 changes: 2 additions & 2 deletions editor/gui/scene_dock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "vendor/ImGUI/imgui_impl_dx11.h"
#include "vendor/ImGUI/imgui_impl_win32.h"

void SceneDock::showSceneTree(Ptr<Scene>& scene)
void SceneDock::showSceneTree(const Ptr<Scene>& scene)
{
ZoneScoped;

Expand Down Expand Up @@ -88,7 +88,7 @@ void SceneDock::showSceneTree(Ptr<Scene>& scene)
ImGui::EndDragDropTarget();
}

for (auto& child : scene->getChildren())
for (auto&& child : scene->getChildren())
{
showSceneTree(child);
}
Expand Down
2 changes: 1 addition & 1 deletion editor/gui/scene_dock.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class SceneDock
SceneDockSettings m_SceneDockSettings;
SceneID m_OpenedSceneID;

void showSceneTree(Ptr<Scene>& scene);
void showSceneTree(const Ptr<Scene>& scene);
void openScene(Scene* scene);

Variant selectOpenScene(const Event* event);
Expand Down
Loading