Browse Source

add NURBS_MODEL to maya2egg

David Rose 21 years ago
parent
commit
b5d662b439
1 changed files with 6 additions and 0 deletions
  1. 6 0
      dtool/pptempl/Template.models.pp

+ 6 - 0
dtool/pptempl/Template.models.pp

@@ -254,6 +254,12 @@ $[TAB]maya2egg $[MAYA2EGG_OPTS] -o $[target] $[source]
 $[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
+$[target] : $[source]
+$[TAB]maya2egg $[MAYA2EGG_OPTS] -a model -cn "$[CHAR_NAME]" -o $[target] $[source]
+  #endif
 
 #end maya_char_egg