Add 'command stack' to list of ignored commands in propertyeditor.py
authorW. Trevor King <wking@drexel.edu>
Fri, 27 Aug 2010 19:46:21 +0000 (15:46 -0400)
committerW. Trevor King <wking@drexel.edu>
Fri, 27 Aug 2010 19:46:21 +0000 (15:46 -0400)
hooke/ui/gui/panel/propertyeditor.py

index b991c81618f040c9a51366f7814cc79c2d558371..ea865f49489a7058402c09fa888392878f850b05 100644 (file)
@@ -41,8 +41,8 @@ def props_from_argument(argument, curves=None, playlists=None):
     :class:`Property`\s.
     """
     type = argument.type
-    if type in ['driver', 'dict']:  # intentionally not handled (yet)
-        return None
+    if type in ['driver', 'dict', 'command stack']:
+        return None  # intentionally not handled (yet)
     count = argument.count
     if count == -1:
         count = 3  # HACK: should allow unlimited entries (somehow...)