mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 01:44:06 -04:00
Fixes to mayapandatool from ynjh_jo
This commit is contained in:
parent
c1f4a937b6
commit
032098b9aa
@ -1,11 +1,13 @@
|
||||
------------------------ RELEASE 1.5.3 ------------------------
|
||||
|
||||
* License changed to BSD
|
||||
* Fixes x-file parser for real, this time.
|
||||
* Fixes serious bug in shader generator
|
||||
* Adds MSVCR71 and MSVCP71 back to the distro (for python)
|
||||
* Fixed a bug in GeoMipTerrain
|
||||
* Adds support for .egg.pz to packpanda --bam
|
||||
* Turns on libpandaode support
|
||||
* Mayapandatool fixed
|
||||
|
||||
------------------------ RELEASE 1.5.2 ------------------------
|
||||
|
||||
|
@ -743,7 +743,11 @@ global proc string argsBuilder()
|
||||
//get the version of maya and append it to the maya2egg call
|
||||
string $mayaVersionLong = `getApplicationVersionAsFloat`;
|
||||
string $mayaVersionShort = substituteAllString($mayaVersionLong, ".", "");
|
||||
string $mayaVersionShort = substituteAllString($mayaVersionShort, "0", "");
|
||||
//only strips the zeroes if the version number is less than 4
|
||||
if (`size($mayaVersionShort)`<4)
|
||||
{
|
||||
$mayaVersionShort = substituteAllString($mayaVersionShort, "0", "");
|
||||
}
|
||||
|
||||
$args += $mayaVersionShort;
|
||||
|
||||
@ -1181,4 +1185,4 @@ global proc export2Bam ( string $eggFile )
|
||||
}
|
||||
|
||||
print ("Finished exporting (.egg -> .bam)\n");
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user