We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 065ccf2 commit 40287f0Copy full SHA for 40287f0
Assets/Integrations/Autodesk/maya2017/scripts/unityOneClick/commands.py
@@ -98,11 +98,7 @@ def doIt(self, args):
98
99
# Get or create the Unity Fbx Export Set
100
allSets = maya.cmds.listSets(allSets=True)
101
- if self._exportSet in allSets:
102
- if maya.cmds.sets(self._exportSet, size=True, q=True) > 0:
103
- self.displayDebug('Set {0} is not empty, cannot update'.format(self._exportSet))
104
- return
105
- else:
+ if not self._exportSet in allSets:
106
# couldn't find export set so create it
107
maya.cmds.sets(name=self._exportSet)
108
0 commit comments