File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -236,10 +236,10 @@ def snapShapeToNeutral(source, target):
236236def 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 ()
You can’t perform that action at this time.
0 commit comments