View Full Version : Drag'n'drop from outlinerEditor to textScrollList
ManuelM 03-05-2010, 06:15 AM I'm having problems with calling a command when I drag'n'drop an object from an outlinerEditor to a textScrollList.
The problem is that it seems the outlinerEditor doesn't have a -dragCallback flag.
Basically I just want to somehow capture which object's I've dropped from the outliner onto the textScrollList.
|
|
NaughtyNathan
03-05-2010, 09:47 AM
I've tried to do something similar in tha past (dragging hypershade swatches onto a custom layout) and I don't think it's possible. A lot of Mayas default panels have their own drag/drop callbacks and I'm not aware of any that are compatible with or accessible by the MEL UI ones.
What type of object are you dragging, and what does the textScrollList contain? maybe there's a different way to do whatever it is you're trying to do..?
:nathaN
ManuelM
03-06-2010, 10:52 PM
it's a custom outlinerEditor which only displays nodes of one specific type. so far the textscrollList doesn't contain anything but the functionality that i want to achieve is that users should be able to drag nodes onto it and their name gets appended to the list.
of course a simple workaround would be to have a button that gets the highlighted objects from the outliner and adds them to the list - i was just hoping i could make the tool even more comfortable to use for the artists - drag'n'drop wherever possible.
CGTalk Moderation
03-06-2010, 10:52 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.