Skip to content

Commit 6655baf

Browse files
Added early return if there is no registered ImGui Tabs (#129) (#139)
Signed-off-by: Norbert Prokopiuk <[email protected]>
1 parent 2cf1368 commit 6655baf

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Gems/ImGuiProvider/Code/Source/Clients/ImGuiProviderSystemComponent.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,11 @@ namespace ImGuiProvider
116116

117117
// imgui notification bus is called called only if debug menu is shown, so it cannot be reliably used for imgui displaying
118118

119+
if (m_registeredFeatures.empty())
120+
{
121+
return;
122+
}
123+
119124
if (IsDebugGUIDeactivated())
120125
{
121126
AZ::Render::ImGuiSystemRequestBus::BroadcastResult(m_currentImGuiContext, &AZ::Render::ImGuiSystemRequests::GetActiveContext);

Gems/ImGuizmo/gem.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"gem_name": "ImGuizmo",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"display_name": "ImGuizmo",
55
"license": "MIT",
66
"license_url": "https://opensource.org/licenses/MIT",

0 commit comments

Comments
 (0)