indigo3d / coral-repo

Automatically exported from code.google.com/p/coral-repo
0 stars 0 forks source link

File-browser #30

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.drop an image node
2.find image on disk?
3.

What is the expected output? What do you see instead?
It would be very nice if the text input for file paths could launch a file 
browser. Instead I see a blank text input. 

What version of the product are you using? On what operating system?
coral v0.3 - LINUX x86_64 (Gentoo) 

Please provide any additional information below.
Perhaps it's a linux thing, but I find it awkward relying on a separate app to 
find my geo / image paths. Thanks for the great app!

Original issue reported on code.google.com by bluemoon...@gmail.com on 15 Apr 2012 at 6:37

GoogleCodeExporter commented 8 years ago
I was just thinking about this the other day. I'm wondering if we couldn't add 
an attribute type, 'filepath' or something similar that could always be 
represented in the UI with a textfield and an accompanying '...' file browser 
button.

Original comment by s...@sjt.is on 9 May 2012 at 8:47

GoogleCodeExporter commented 8 years ago
I went ahead yesterday and got pretty close to having this working by simple 
adding a specialization to the StringAttribute,'Path', I have yet to fully 
figure out the event loops and callbacks going on inside the nodeinspector

Original comment by s...@sjt.is on 10 May 2012 at 8:38

GoogleCodeExporter commented 8 years ago
Ok, I have this working on one of my nodes - I would now have to go through all 
the built-in nodes and adding a "Path" specialization to all text attributes 
that are represent paths. And I'd like someone to review this stuff, since this 
is all a bit new to me.

Original comment by s...@sjt.is on 10 May 2012 at 6:03

Attachments:

GoogleCodeExporter commented 8 years ago
Hi! sorry for the late reply but I'm currently relocating to california and I'm 
left with very little time.
You seem to have done this the exact same way I'd have done it, I'll happily 
review it and add it to the master branch.

Original comment by aintergu...@gmail.com on 10 May 2012 at 8:19