mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
add MAYA_EXTENSION
This commit is contained in:
parent
545cb6d164
commit
ea1386b007
@ -329,6 +329,11 @@
|
||||
#define BUILD_DIRECTORY 1
|
||||
#define BUILD_TARGET 1
|
||||
|
||||
// This is the default extension for a Maya file. It might be
|
||||
// overridden within a maya_char_egg rule to convert a .ma file
|
||||
// instead.
|
||||
#define MAYA_EXTENSION .mb
|
||||
|
||||
// This variable, when evaluated in the scope of a particular directory,
|
||||
// will indicate true (i.e. nonempty) when the directory is truly built,
|
||||
// or false (empty) when the directory is not to be built.
|
||||
|
@ -325,13 +325,13 @@ $[TAB]maya2egg $[MAYA2EGG_OPTS] -o $[target] $[source]
|
||||
#forscopes maya_char_egg
|
||||
#if $[POLY_MODEL]
|
||||
#define target $[EGG_PREFIX]$[POLY_MODEL].egg
|
||||
#define source $[MAYA_PREFIX]$[or $[MODEL],$[POLY_MODEL]].mb
|
||||
#define source $[MAYA_PREFIX]$[or $[MODEL],$[POLY_MODEL]]$[MAYA_EXTENSION]
|
||||
$[target] : $[source]
|
||||
$[TAB]maya2egg $[MAYA2EGG_OPTS] -p -a model -cn "$[CHAR_NAME]" -o $[target] $[source]
|
||||
#endif
|
||||
#if $[NURBS_MODEL]
|
||||
#define target $[EGG_PREFIX]$[NURBS_MODEL].egg
|
||||
#define source $[MAYA_PREFIX]$[or $[MODEL],$[NURBS_MODEL]].mb
|
||||
#define source $[MAYA_PREFIX]$[or $[MODEL],$[NURBS_MODEL]]$[MAYA_EXTENSION]
|
||||
$[target] : $[source]
|
||||
$[TAB]maya2egg $[MAYA2EGG_OPTS] -a model -cn "$[CHAR_NAME]" -o $[target] $[source]
|
||||
#endif
|
||||
@ -342,7 +342,7 @@ $[TAB]maya2egg $[MAYA2EGG_OPTS] -a model -cn "$[CHAR_NAME]" -o $[target] $[sourc
|
||||
#forscopes maya_char_egg
|
||||
#foreach anim $[ANIMS]
|
||||
#define target $[EGG_PREFIX]$[anim]$[CHAN_SUFFIX].egg
|
||||
#define source $[MAYA_PREFIX]$[anim].mb
|
||||
#define source $[MAYA_PREFIX]$[anim]$[MAYA_EXTENSION]
|
||||
#define begin 0
|
||||
#define end
|
||||
#if $[$[anim]_frames]
|
||||
|
Loading…
x
Reference in New Issue
Block a user