Skip to content

Commit 610c18d

Browse files
committed
Improved Pipe ECS & Refelction debug
1 parent 21f8419 commit 610c18d

File tree

5 files changed

+4
-24
lines changed

5 files changed

+4
-24
lines changed

Libs/Editor/Src/Editor.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ namespace rift::editor
3737
String asString = p::ToString(*id);
3838
if (UI::InputText("##value", asString))
3939
{
40-
*id = p::IdFromString(asString);
40+
*id = p::IdFromString(asString, nullptr);
4141
}
4242
});
4343

Libs/Editor/Src/Tools/ASTDebugger.cpp

+1-4
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,6 @@ namespace rift::editor
7777
dbgContext.ctx = *
7878
p::BeginDebug(dbgContext);
7979
p::DrawIdRegistry(" " ICON_FA_BUG " AST Debugger", &open);
80-
static p::ECSDebugInspector testInspector;
81-
testInspector.id = mainInspector.id;
82-
p::DrawEntityInspector("Test", testInspector);
8380
p::EndDebug();
8481
}
8582

@@ -146,7 +143,7 @@ namespace rift::editor
146143
if (UI::InputText("##IdValue", asString,
147144
ImGuiInputTextFlags_EnterReturnsTrue | ImGuiInputTextFlags_EscapeClearsAll))
148145
{
149-
changedId = p::IdFromString(asString);
146+
changedId = p::IdFromString(asString, &ast);
150147
}
151148
ImGui::EndMenu();
152149
}

imgui.ini

-17
This file was deleted.

0 commit comments

Comments
 (0)