avoid API change in URDFImporterInterface

fix .obj texture loading issue
This commit is contained in:
Erwin Coumans
2016-05-24 09:01:03 -07:00
parent 9bd88e5727
commit b1adc0d9ef
6 changed files with 8 additions and 6 deletions

View File

@@ -213,7 +213,7 @@ void ConvertURDF2BulletInternal(const URDFImporterInterface& u2b, MultiBodyCreat
btCompoundShape* compoundShape = u2b.convertLinkCollisionShapes(urdfLinkIndex,pathPrefix,localInertialFrame);
int graphicsIndex = u2b.convertLinkVisualShapes(urdfLinkIndex,pathPrefix,localInertialFrame,compoundShape);
int graphicsIndex = u2b.convertLinkVisualShapes2(urdfLinkIndex,pathPrefix,localInertialFrame,compoundShape);
if (compoundShape)