junvfx Posted June 14, 2019 Share Posted June 14, 2019 (edited) pyside2 dropevent in houdini python panel. when i drag houdini node dropevent runs three times. but drag hip file runs only once. ????? Edited June 14, 2019 by junvfx Quote Link to comment Share on other sites More sharing options...
Stalkerx777 Posted June 18, 2019 Share Posted June 18, 2019 Yes, unfortunately, d&d in Python panels is very buggy. over the course of several years, I've seen all sorts of issues including this. First, make sure in your dragEnterEvent you store the mime data somewhere and then the next time you enter the widget, check if such data exists and reject the event if it does. See if it works for you, you might need to do the same trick with the dropEvent 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.