Browse Source

Maya Art Tool Update

Maya Art Tool: Support full UV map generation options for polyUnite
command
MackeyK24 8 years ago
parent
commit
7413e41f3f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Exporters/Maya/Tools/babylonReskinTool.mel

+ 2 - 2
Exporters/Maya/Tools/babylonReskinTool.mel

@@ -14,7 +14,7 @@ global proc reskinSelectedMeshes() {
                 if ($selected > 1) {
                     $duplicateObj = `duplicate $selection`;
                     $createGrp = `group -n tempGroup`;
-                    $mergeType = $regenerate;
+                    $mergeType = ($regenerate - 1);
                     $combine = `polyUnite -muv $mergeType -n $skinName $createGrp`;
                     $deleteHistory = `delete -ch $combine`;
                     delete $createGrp;
@@ -46,7 +46,7 @@ global proc babylonReskinTool() {
     columnLayout -adjustableColumn true;
     textFieldGrp -label "Skin Name" -text "" myReskinName;
     intSliderGrp -label "Max Influencers" -field true -minValue 1 -maxValue 4 -fieldMinValue 1 -fieldMaxValue 4 -value 4 myReskinInfluencers;
-    radioButtonGrp -label "UV Map Generation" -numberOfRadioButtons 2 -labelArray2 "Merge By Names" "Merge By Set Links" -select 1 myReskinGenerate;
+    radioButtonGrp -label "UV Map Generation" -numberOfRadioButtons 3 -labelArray3 "No Merge" "Same Name" "Set Links" -select 2 myReskinGenerate;
     button -label "Reskin Selected Meshes" -command "reskinSelectedMeshes()" myReskinButton; 
     showWindow $window;
 }