SHARE
TWEET

Undo Init

a guest May 12th, 2016 13 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #python
  2. import modo
  3. import lxu
  4. import lx
  5.  
  6. class UndoInit(lxu.command.BasicCommand):
  7.     def __init__(self):
  8.         lxu.command.BasicCommand.__init__(self)
  9.  
  10.     def cmd_Flags(self):
  11.         return lx.symbol.fCMD_MODEL | lx.symbol.fCMD_UNDO
  12.  
  13.     def cmd_Execute(self, whatever):
  14.         pass
  15.  
  16. lx.bless(UndoInit, "undo.init")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top