Fix release compilation.

This commit is contained in:
hiker 2014-09-23 08:17:04 +10:00
parent e4f38fa244
commit 4ff8f6dfe5

View File

@ -317,7 +317,9 @@ void Widget::setParent(IGUIElement* parent)
bool Widget::isVisible() const
{
if (m_element != NULL)
{
assert(m_element->isVisible() == m_is_visible);
}
return m_is_visible;
}