It is not an error, it was done on purpose to fix some collision bug when replacing a mesh. But I agree that this is extremely confusing, it's probably a quick fix that was left in. The if test should be removed completely.
/benoit At Date: Fri, 29 Jan 2010 10:46:16 +0100 J?r?me Lelong <arsouill...@gmail.com> wrote: > Hi, > > MSVC complain about a strange warning which is propably an > error code: Around line 550 of CcdPhysicsController.cpp in > function ReplaceControllerShape we can find : > > for(int i= 0; i < obarr.size(); i++) { > ob= obarr[i]; > if (ob->getCollisionShape() == newShape); { > proxy = ob->getBroadphaseHandle(); > > if(proxy) > dw->getPairCache()->cleanProxyFromPairs(proxy,dw->getDispatcher()); > } > } > > At the of the first "if", the semicolon seems to be an error. > > > Arsouille > _______________________________________________ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers