From c1ef065782051db96cdfd32cf55be6408c2a9d22 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:57:14 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit bab171b2a7d7f36e2d5dd510df80fc8cb4a6b06f. --- src/mechanics/mechanicsitem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mechanics/mechanicsitem.cpp') 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((Item*)*it); if (child) -- cgit v1.2.1