Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
morganloomis committed Nov 13, 2016
1 parent c0c0219 commit 40a462c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ml_graphEditorMask.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# / __ `__ \/ / Licensed under Creative Commons BY-SA
# / / / / / / / http://creativecommons.org/licenses/by-sa/3.0/
# /_/ /_/ /_/_/ _________
# /_________/ Revision 1, 2016-05-31
# /_________/ Revision 2, 2016-11-10
# _______________________________
# - -/__ Installing Python Scripts __/- - - - - - - - - - - - - - - - - - - -
#
Expand Down Expand Up @@ -196,7 +196,8 @@ def isolate(option):

for obj in sel:
attrs = mc.listAttr(obj, keyable=True, unlocked=True, string=wildCard)
channels.extend([obj+'.'+a for a in attrs])
if attrs:
channels.extend([obj+'.'+a for a in attrs])

if not channels:
for obj in sel:
Expand Down Expand Up @@ -244,3 +245,5 @@ def markingMenu():
# - -/__ Revision History __/- - - - - - - - - - - - - - - - - - - - - - - -
#
# Revision 1: 2016-05-31 : First publish.
#
# Revision 2: 2016-11-10 : Fix error when no channels are found.

0 comments on commit 40a462c

Please sign in to comment.