PyBullet fileIOPlugin: don't add equal fileIO interface twice (based on identical fileIOType and pathPrefix)

loadBullet goes through fileIOPlugin
This commit is contained in:
erwincoumans committed 2018-10-29 10:25:40 -07:00
1 parent ee76873689
commit 078887c4d7
7 files changed
+119 -63

No files matched your search

@@ -3,6 +3,15 @@
struct CommonFileIOInterface
{
int m_fileIOType;
const char* m_pathPrefix;
CommonFileIOInterface(int fileIOType, const char* pathPrefix)
:m_fileIOType(fileIOType),
m_pathPrefix(pathPrefix)
{
}
virtual ~CommonFileIOInterface()
{
}