Skip to content

Commit b95d4fc

Browse files
authored
Merge pull request #30 from tbttfox/tab-hotfix
Tab hotfix
2 parents 0df1f47 + ee93f88 commit b95d4fc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/SimplexUI/tools/mayaTools.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -236,10 +236,10 @@ def snapShapeToNeutral(source, target):
236236
def softSelectToCluster(mesh):
237237
# Get the manipulator position for the selection
238238
cmds.setToolTo('Move')
239-
currentMoveMode = cmds.manipMoveContext('Move', query=True, mode=True) #Get the original mode
240-
cmds.manipMoveContext('Move', edit=True, mode=0) #set to the correct mode
241-
pos = cmds.manipMoveContext('Move', query=True, position=True) # get the position
242-
cmds.manipMoveContext('Move', edit=True, mode=currentMoveMode) # and reset
239+
currentMoveMode = cmds.manipMoveContext('Move', query=True, mode=True) #Get the original mode
240+
cmds.manipMoveContext('Move', edit=True, mode=0) #set to the correct mode
241+
pos = cmds.manipMoveContext('Move', query=True, position=True) # get the position
242+
cmds.manipMoveContext('Move', edit=True, mode=currentMoveMode) # and reset
243243

244244
# Grab the soft selection values using the API
245245
selection = om.MSelectionList()

0 commit comments

Comments
 (0)