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

child doesn't have a physical shape. Another attempt at fixing Mantis 7191.
bullet-2.82
Robert Adams 2014-06-18 23:01:39 -07:00
parent f348928590
commit 4651cd1f50
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
} }
} }