added camera controls to editor

This commit is contained in:
2026-01-25 11:44:06 +01:00
parent bf4189bba0
commit 236da3059f
9 changed files with 271 additions and 15 deletions

View File

@@ -41,6 +41,11 @@ void TSE::EDITOR::HirearchieView::Define()
//if(layer->GetName() != ".editor")
DisplayLayer(layer);
}
if(!selectedFound && PropertiesView::GetCurrentInspectableType() == InspectableType::Transformable)
{
PropertiesView::ForceClearInspectorElement();
}
}
@@ -188,10 +193,6 @@ void TSE::EDITOR::HirearchieView::DisplayLayer(Layer *l)
{
DisplayObj(l->GetAllObjects()[i], l);
}
if(!selectedFound && PropertiesView::GetCurrentInspectableType() == InspectableType::Transformable)
{
PropertiesView::ForceClearInspectorElement();
}
}
ImGui::Unindent(20.0f);
}