From e824f6f40f2e527d95bbfeb16bae4843f46df08f Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Sat, 14 Nov 2009 21:49:27 +0000 Subject: [PATCH] changed PHY importer to load capsules, not cylinders git-svn-id: svn://anubis/anaglym/trunk@169 99a6e188-d820-4881-8870-2d33a10e2619 --- Engine.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Engine.cc b/Engine.cc index ff23bf7..cf26bc8 100644 --- a/Engine.cc +++ b/Engine.cc @@ -1145,9 +1145,9 @@ void Engine::Object::loadPhy(const FileLoader::Path & path) { m_ode_object->addSphere(args); } - else if (type == "cylinder") + else if (type == "capsule") { - m_ode_object->addCylinder(args); + m_ode_object->addCapsule(args); } else if (type == "plane") {