vancegroup / vr-jugglua

VR JuggLua: A Framework for VR Applications Combining Lua, OpenSceneGraph, and VR Juggler
Boost Software License 1.0
11 stars 12 forks source link

Drag+drop files/text onto console to run #82

Closed rpavlik closed 12 years ago

rpavlik commented 12 years ago

(Again, can limit to the qt console) Be able to accept dropped files and dropped text to run.

Possibly: If dropped files end in .lua, run them, otherwise insert the full path to the file? (like you can do with a command window)?

cc @lpberg @tbmorgan

rpavlik commented 12 years ago

OK, this is essentially done in 20865e99c42622253e2b6f5684f9628a1f3a3659 : lua and jconf files have the appropriate command added. Right now other filetypes are just ignored, which might help avoid use of absolute paths to models, etc.