Jump to content

[Linux] Drag & Drop works almost nowhere.


DerRidda
 Share

Recommended Posts

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.

Link to comment
Share on other sites

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.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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/

 

 

  • Upvote 1

System:

Linux Mint 17 ( = Ubuntu 14.04 with cinnamon desktop ) Ubuntu 14.04, AMD HD 6850, i5 2500k

Link to comment
Share on other sites

  • 4 months later...
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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...