BulletSim: stop processing linkset child when it is discovered that the

child doesn't have a physical shape. Another attempt at fixing Mantis 7191.
0.8.0.3
Robert Adams 2014-06-18 23:01:39 -07:00 committed by Justin Clark-Casey
parent b293242017
commit 03c6d2b0b4
1 changed files with 1 additions and 0 deletions

View File

@ -404,6 +404,7 @@ public sealed class BSLinksetCompound : BSLinkset
m_physicsScene.Logger.WarnFormat("{0} Linkset rebuild warning. If this happens more than one or two times, please report in Mantis 7191", LogHeader); m_physicsScene.Logger.WarnFormat("{0} Linkset rebuild warning. If this happens more than one or two times, please report in Mantis 7191", LogHeader);
m_physicsScene.Logger.WarnFormat("{0} pName={1}, childIdx={2}, shape={3}", m_physicsScene.Logger.WarnFormat("{0} pName={1}, childIdx={2}, shape={3}",
LogHeader, LinksetRoot.Name, cPrim.LinksetChildIndex, childShape); LogHeader, LinksetRoot.Name, cPrim.LinksetChildIndex, childShape);
return false; // 'false' says to move onto the next child in the list
} }
} }