mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
clarify mayaBinary
This commit is contained in:
parent
064dc06178
commit
66da7099d0
@ -183,10 +183,10 @@ write(const Filename &filename) {
|
||||
os_filename = back_to_front_slash(os_filename);
|
||||
#endif
|
||||
|
||||
const char *type = MFileIO::mayaBinary;
|
||||
const char *type = "mayaBinary";
|
||||
string extension = filename.get_extension();
|
||||
if (extension == "ma") {
|
||||
type = MFileIO::mayaAscii;
|
||||
type = "mayaAscii";
|
||||
}
|
||||
|
||||
MStatus stat = MFileIO::saveAs(os_filename.c_str(), type, true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user