diff options
Diffstat (limited to 'src/mechanics/mechanicsitem.cpp')
-rw-r--r-- | src/mechanics/mechanicsitem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mechanics/mechanicsitem.cpp b/src/mechanics/mechanicsitem.cpp index 81340b4..96c4adf 100644 --- a/src/mechanics/mechanicsitem.cpp +++ b/src/mechanics/mechanicsitem.cpp @@ -206,8 +206,8 @@ void MechanicsItem::updateMechanicsInfoCombined() double mass_x = 0.; double mass_y = 0.; - const ItemList::const_iterator end = m_children.end(); - for ( ItemList::const_iterator it = m_children.begin(); it != end; ++it ) + const ItemList::const_iterator end = m_tqchildren.end(); + for ( ItemList::const_iterator it = m_tqchildren.begin(); it != end; ++it ) { MechanicsItem *child = dynamic_cast<MechanicsItem*>((Item*)*it); if (child) |