mirror of
https://gitlab.com/splashmapper/splash.git
synced 2026-06-16 12:33:50 +02:00
Fixed wireframe/texture button
This commit is contained in:
committed by
Emmanuel Durand
parent
8347329665
commit
1e5f617a2a
@@ -452,7 +452,7 @@ void Gui::drawMainTab()
|
||||
if (ImGui::Button("Wireframe / Textured", ImVec2(availableSize[0] / 3.f, 32.f)))
|
||||
{
|
||||
_wireframe = !_wireframe;
|
||||
setWorldAttribute("wireframe", {(int)_wireframe});
|
||||
setWorldAttribute("wireframe", {_wireframe});
|
||||
}
|
||||
if (ImGui::IsItemHovered())
|
||||
ImGui::SetTooltip("Switch objects between wireframe and textured (Ctrl+%s and Ctrl+%s)", getLocalKeyName('T'), getLocalKeyName('W'));
|
||||
|
||||
Reference in New Issue
Block a user