Fix another bug found while reviewing previous pull request
This commit is contained in:
parent
de4c1c880b
commit
544d3afa23
@ -482,7 +482,8 @@ void DynamicRibbonWidget::addAnimatedItem( const irr::core::stringw& user_name,
|
||||
virtual void IGUIElement::OnPostRender (u32 timeMs)
|
||||
\brief animate the element and its children.
|
||||
*/
|
||||
GUIEngine::needsUpdate.push_back(this);
|
||||
if (!GUIEngine::needsUpdate.contains(this))
|
||||
GUIEngine::needsUpdate.push_back(this);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user