Minor fixes
This commit is contained in:
parent
6bab824e4f
commit
73838f5f08
|
|
@ -258,6 +258,18 @@ namespace Nz
|
|||
//Resize(m_preferredSize);
|
||||
}
|
||||
|
||||
inline entt::registry& BaseWidget::GetRegistry()
|
||||
{
|
||||
assert(m_registry);
|
||||
return *m_registry;
|
||||
}
|
||||
|
||||
inline const entt::registry& BaseWidget::GetRegistry() const
|
||||
{
|
||||
assert(m_registry);
|
||||
return *m_registry;
|
||||
}
|
||||
|
||||
inline bool BaseWidget::IsRegisteredToCanvas() const
|
||||
{
|
||||
return m_canvas && m_canvasIndex != InvalidCanvasIndex;
|
||||
|
|
|
|||
|
|
@ -324,18 +324,6 @@ namespace Nz
|
|||
{
|
||||
}
|
||||
|
||||
inline entt::registry& BaseWidget::GetRegistry()
|
||||
{
|
||||
assert(m_registry);
|
||||
return *m_registry;
|
||||
}
|
||||
|
||||
inline const entt::registry& BaseWidget::GetRegistry() const
|
||||
{
|
||||
assert(m_registry);
|
||||
return *m_registry;
|
||||
}
|
||||
|
||||
void BaseWidget::ShowChildren(bool show)
|
||||
{
|
||||
for (const auto& widgetPtr : m_children)
|
||||
|
|
|
|||
|
|
@ -528,7 +528,6 @@ Nz::ShaderAst::StatementPtr ShaderGraph::ToAst() const
|
|||
statements.push_back(Nz::ShaderBuilder::DeclareStruct(std::move(structDesc)));
|
||||
}
|
||||
|
||||
Nz::ShaderAst::ExpressionType returnType;
|
||||
if (!m_outputs.empty())
|
||||
{
|
||||
Nz::ShaderAst::StructDescription structDesc;
|
||||
|
|
|
|||
Loading…
Reference in New Issue