DerRidda Posted August 21, 2014 Posted August 21, 2014 Following up on this discussion http://www.leadwerks.com/werkspace/topic/10506-flowgraph/ which concluded that you can't drag & drop entities into the flowgraph under Linux. Turns out you basically can't use the drag & drop functionality anywhere, except inside the scene graph for grouping and attaching entities to script parameters. You should be able to drag & drop assets like scripts and materials onto objects in the 3D viewport, right? Well, that doesn't work at all. It simply seems to not be implemented, just like the flowgraph. Quote
Josh Posted August 21, 2014 Posted August 21, 2014 Since there is no way in GTK to retrieve the control under a certain mouse position, this is unlikely to be implemented. Alternative workflows have been created to deal with this limitation. Quote My job is to make tools you love, with the features you want, and performance you can't live without.
DerRidda Posted August 21, 2014 Author Posted August 21, 2014 I believe you but I still did some googling around: http://www.compsci.hunter.cuny.edu/~sweiss/course_materials/csci493.70/lecture_notes/GTK_dragndrop.pdf http://www.manpagez.com/html/gtk2/gtk2-2.24.24/gtk2-Drag-and-Drop.php I know of the alternative methods and in case of the adding entities to the flowgraph it is reasonably fast enough to be considered an acceptable alternative. Adding materials or scripts to a mesh though isn't quite as good. Could we at the very least get a similiar workaround to the one you used for the flowgraph. I'm thinking: Select (multiple) object(s) in the view ports -> go to the asset browser -> right click an material/script -> Select a menu point that would attach the material/script to the object(s). This would be much more convenient than folder diving, especially when you want to attach one and the same thing to multiple different objects. Quote
Guppy Posted August 21, 2014 Posted August 21, 2014 Since there is no way in GTK to retrieve the control under a certain mouse position, this is unlikely to be implemented. Alternative workflows have been created to deal with this limitation. Except that gtkparasite does just that... http://chipx86.github.io/gtkparasite/ 1 Quote System: Linux Mint 17 ( = Ubuntu 14.04 with cinnamon desktop ) Ubuntu 14.04, AMD HD 6850, i5 2500k
DerRidda Posted August 24, 2014 Author Posted August 24, 2014 Josh, could you explain why it is possible to drag & drop models and prefabs into the 3D viewport but not materials onto something inside the viewport? Wouldn't that information be just one pick away or am I seeing this too naively? Quote
abyssus Posted December 31, 2014 Posted December 31, 2014 Alternative workflows have been created to deal with this limitation. This thread is ranking highly for this issue. So for myself and others who are likely to come here, can you please point us to what the Alternative workflows are? Thanks! Edit, found the alternative via trial/error. The alternative workflow is as follows; Tools > Flowgraph Editor Focus Scene Tab Right click any object from the object tree Add to flowgraph Done! Leadwerks feels a bit clunky in Linux, so hope Josh continues his collaboration with Canonical to improve on this because it would make the engines GUI a real pleasure to use. Quote
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.