made a lot of changes, to get the render pipeline working
This commit is contained in:
@@ -40,6 +40,7 @@ TSE::EDITOR::EditorSubsystem::EditorSubsystem() : sv(nullptr), editorLayer("")
|
||||
|
||||
editorLayer = Layer(".editor");
|
||||
editorLayer.AddTransformable(editorCamera);
|
||||
editorLayer.SetNonVisual(true);
|
||||
|
||||
#pragma endregion
|
||||
}
|
||||
@@ -439,6 +439,14 @@ namespace TSE::EDITOR
|
||||
Texture* value = element->GetValue<Texture*>(name);
|
||||
Draw(value, debug, name , true);
|
||||
}
|
||||
if (type == typeid(uint).name())
|
||||
{
|
||||
int value = element->GetValue<uint>(name);
|
||||
if(ImGui::InputInt(name.c_str(), &value))
|
||||
{
|
||||
element->SetValue(name, value);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ImGui::TextDisabled(("Not Implemented: " + type).c_str());
|
||||
|
||||
Reference in New Issue
Block a user