mirror of
https://github.com/gwm17/Specter.git
synced 2025-02-19 19:08:51 -05:00
Fixed misunderstanding of ImGui::Begin()/End() paradigm. Must always call End() regardless of state of Begin()
This commit is contained in:
parent
afd17b780d
commit
29433be65a
|
@ -68,8 +68,8 @@ namespace Navigator {
|
||||||
ImGui::Text(m_rxnEqn.c_str());
|
ImGui::Text(m_rxnEqn.c_str());
|
||||||
ImGui::Text("X1 Weight: %f", x1_weight.GetValue());
|
ImGui::Text("X1 Weight: %f", x1_weight.GetValue());
|
||||||
ImGui::Text("X2 Weight: %f", x2_weight.GetValue());
|
ImGui::Text("X2 Weight: %f", x2_weight.GetValue());
|
||||||
ImGui::End();
|
|
||||||
}
|
}
|
||||||
|
ImGui::End();
|
||||||
}
|
}
|
||||||
|
|
||||||
void SPSInputLayer::UpdateWeights()
|
void SPSInputLayer::UpdateWeights()
|
||||||
|
|
|
@ -252,8 +252,8 @@ namespace Navigator {
|
||||||
ImGui::TreePop();
|
ImGui::TreePop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ImGui::End();
|
|
||||||
}
|
}
|
||||||
|
ImGui::End();
|
||||||
|
|
||||||
if(ImGui::Begin(ICON_FA_CUT " Cuts"))
|
if(ImGui::Begin(ICON_FA_CUT " Cuts"))
|
||||||
{
|
{
|
||||||
|
@ -267,8 +267,8 @@ namespace Navigator {
|
||||||
ImGui::TreePop();
|
ImGui::TreePop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ImGui::End();
|
|
||||||
}
|
}
|
||||||
|
ImGui::End();
|
||||||
|
|
||||||
ImGui::End();
|
ImGui::End();
|
||||||
}
|
}
|
||||||
|
|
|
@ -163,8 +163,8 @@ namespace Navigator {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ImGui::End();
|
|
||||||
}
|
}
|
||||||
|
ImGui::End();
|
||||||
return m_result;
|
return m_result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -109,13 +109,13 @@ namespace Navigator {
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Instrumentor::Instrumentor() :
|
Instrumentor() :
|
||||||
m_session(nullptr)
|
m_session(nullptr)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Instrumentor::~Instrumentor()
|
~Instrumentor()
|
||||||
{
|
{
|
||||||
EndSession();
|
EndSession();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user