New Geometry view option to show only visible sources

View setting to ignore mixing visibility applied to Geometry view, with a button to complement the workspace selection.
This commit is contained in:
Bruno Herbelin
2023-12-29 11:25:29 +01:00
parent 7606baa20b
commit caa3e4d07a
9 changed files with 62 additions and 29 deletions

View File

@@ -471,7 +471,7 @@ void ImGuiVisitor::visit (Source& s)
if (s.blendingShader()->color.a > 0.f)
ImGuiToolkit::Indication("Visible", ICON_FA_SUN);
else
ImGuiToolkit::Indication("Not visible", ICON_FA_CLOUD_SUN);
ImGuiToolkit::Indication("not Visible", ICON_FA_MOON);
}
else
ImGuiToolkit::Indication("Inactive", ICON_FA_SNOWFLAKE);