Hello guys!
There is a strange error when i trying to use InputEvent in TreeViewFunctions.
def InputEvent(self, root, userdata, pArea, msg):
if msg[c4d.BFM_INPUT_CHANNEL] == c4d.BFM_INPUT_MOUSELEFT:
print "Left Mouse Pressed"
return True
returns
TypeError: InputEvent() takes exactly 5 arguments (4 given)
Any idea how to fix it?
Example plugin:
TreeViewExample.pyp.txt