mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -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 ------------------------
|
------------------------ RELEASE 1.5.3 ------------------------
|
||||||
|
|
||||||
|
* License changed to BSD
|
||||||
* Fixes x-file parser for real, this time.
|
* Fixes x-file parser for real, this time.
|
||||||
* Fixes serious bug in shader generator
|
* Fixes serious bug in shader generator
|
||||||
* Adds MSVCR71 and MSVCP71 back to the distro (for python)
|
* Adds MSVCR71 and MSVCP71 back to the distro (for python)
|
||||||
* Fixed a bug in GeoMipTerrain
|
* Fixed a bug in GeoMipTerrain
|
||||||
* Adds support for .egg.pz to packpanda --bam
|
* Adds support for .egg.pz to packpanda --bam
|
||||||
* Turns on libpandaode support
|
* Turns on libpandaode support
|
||||||
|
* Mayapandatool fixed
|
||||||
|
|
||||||
------------------------ RELEASE 1.5.2 ------------------------
|
------------------------ RELEASE 1.5.2 ------------------------
|
||||||
|
|
||||||
|
@ -743,7 +743,11 @@ global proc string argsBuilder()
|
|||||||
//get the version of maya and append it to the maya2egg call
|
//get the version of maya and append it to the maya2egg call
|
||||||
string $mayaVersionLong = `getApplicationVersionAsFloat`;
|
string $mayaVersionLong = `getApplicationVersionAsFloat`;
|
||||||
string $mayaVersionShort = substituteAllString($mayaVersionLong, ".", "");
|
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;
|
$args += $mayaVersionShort;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user