Fist assetsystem implementations for textures and materials
This commit is contained in:
@@ -1183,7 +1183,7 @@ namespace TSE::EDITOR
|
||||
ImGui::Image(element->GetTextureId(), texSize, {0,1}, {1,0});
|
||||
ImGui::SameLine();
|
||||
ImGui::SetCursorPos(ImVec2(field_size.y + 1,(60-label_size.y) / 2));
|
||||
ImGui::TextUnformatted(element->name.c_str());
|
||||
ImGui::TextUnformatted(element->name().c_str());
|
||||
|
||||
ImGui::EndChild();
|
||||
|
||||
@@ -1198,7 +1198,7 @@ namespace TSE::EDITOR
|
||||
}
|
||||
void ElementDrawer::DrawTextureNormal(Texture *element, const bool &debug, const std::string& label)
|
||||
{
|
||||
ImGui::TextUnformatted(element->name.c_str());
|
||||
ImGui::TextUnformatted(element->name().c_str());
|
||||
if(debug)
|
||||
{
|
||||
ImGui::Separator();
|
||||
|
||||
Reference in New Issue
Block a user