Advertisement
nik684

Untitled

Oct 19th, 2020
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. (
  2. ::DisableModifyPanel
  3. ::EnableModifyPanel
  4.  
  5. fn DisableModifyPanel =
  6. (
  7. if getCommandPanelTaskMode() == #modify then suspendEditing which:#modify
  8. )
  9. fn EnableModifyPanel =
  10. (
  11. if getCommandPanelTaskMode() == #modify then resumeEditing which:#modify
  12. )
  13. callbacks.addScript #preNodesCloned "DisableModifyPanel()" id:#FastCloner
  14. callbacks.addScript #postNodesCloned "EnableModifyPanel()" id:#FastCloner
  15. callbacks.addScript #nodePostDelete "EnableModifyPanel()" id:#FastCloner
  16. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement