show ".bullet" as file extension in the Maya plugin, by implementing MString filter() const;
This commit is contained in:
@@ -104,6 +104,13 @@ MString ObjTranslator::defaultExtension () const
|
|||||||
// return MString("bullet");
|
// return MString("bullet");
|
||||||
return fExtension;
|
return fExtension;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MString ObjTranslator::filter() const
|
||||||
|
{
|
||||||
|
//return "*.bullet;*.dae";
|
||||||
|
return "*.bullet";
|
||||||
|
}
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
MPxFileTranslator::MFileKind ObjTranslator::identifyFile (
|
MPxFileTranslator::MFileKind ObjTranslator::identifyFile (
|
||||||
|
|||||||
@@ -75,6 +75,9 @@ public:
|
|||||||
bool haveReadMethod () const;
|
bool haveReadMethod () const;
|
||||||
bool haveWriteMethod () const;
|
bool haveWriteMethod () const;
|
||||||
MString defaultExtension () const;
|
MString defaultExtension () const;
|
||||||
|
|
||||||
|
MString filter() const;
|
||||||
|
|
||||||
MFileKind identifyFile ( const MFileObject& fileName,
|
MFileKind identifyFile ( const MFileObject& fileName,
|
||||||
const char* buffer,
|
const char* buffer,
|
||||||
short size) const;
|
short size) const;
|
||||||
|
|||||||
Reference in New Issue
Block a user