jchanvfx / NodeGraphQt

Node graph framework that can be re-implemented into applications that supports PySide2
http://chantonic.com/NodeGraphQt/
MIT License
1.29k stars 266 forks source link

Error when clearing a session #387

Closed Gaspounet closed 1 year ago

Gaspounet commented 1 year ago

Hi again! I'm having the following error when clearing a session using 0.6.25:

Traceback (most recent call last):
  File "E:\WORK\CODING\packages\nomad\nomad\hotkeys\hotkey_functions.py", line 101, in new_session
    graph.clear_session()
  File "C:\Users\Gaspounet\AppData\Roaming\Python\Python37\site-packages\NodeGraphQt\base\graph.py", line 1673, in clear_session
    self._undo_stack.push(NodeRemovedCmd(self, n))
NameError: name 'NodeRemovedCmd' is not defined

Thanks for your help! Gasp