added camera controls to editor
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user