Store a copy of params in CurveCommand._add_to_command_stack.
[hooke.git] / hooke / plugin / curve.py
index 5df5629f776d1b2c48a096deae4c8e006d8f2778..b287ee4fa11bd5ad96f10de2269c6523ebd81bad 100644 (file)
@@ -137,7 +137,7 @@ class CurveCommand (Command):
                 pass  # no need to place duplicate calls on the stack.
             else:
                 curve.command_stack.append(CommandMessage(
-                        self.name, params))
+                        self.name, dict(params)))
 
 
 class BlockCommand (CurveCommand):