show ".bullet" as file extension in the Maya plugin, by implementing MString filter() const;

This commit is contained in:
erwin.coumans
2010-02-02 18:56:28 +00:00
parent d47ce6f46e
commit 23c814f699
2 changed files with 255 additions and 245 deletions

View File

@@ -104,6 +104,13 @@ MString ObjTranslator::defaultExtension () const
// return MString("bullet");
return fExtension;
}
MString ObjTranslator::filter() const
{
//return "*.bullet;*.dae";
return "*.bullet";
}
//////////////////////////////////////////////////////////////
MPxFileTranslator::MFileKind ObjTranslator::identifyFile (

View File

@@ -75,6 +75,9 @@ public:
bool haveReadMethod () const;
bool haveWriteMethod () const;
MString defaultExtension () const;
MString filter() const;
MFileKind identifyFile ( const MFileObject& fileName,
const char* buffer,
short size) const;