Start object editor navigation at art/shapes/*

Scripting questions, discussions, etc
3 posts Page 1 of 1
Duion
Posts: 806
Joined: Sun Feb 08, 2015 1:51 am
 
  by Duion » Wed Feb 08, 2017 1:36 am
Wouldn't it be possible to start off the object editor on art/shapes/* folder?
When you want to place an item you normally have to select the meshes tab, then navigate to art and then navigate to shapes and then to the folder your models are in to place them.
This is having to navigate through two additional folders every time you want to place something, which can get very annoying over time, so I had the idea to start off the editor at that folder since in 99% you will need it there, but I cannot quite figure out how to do that yet, it is probably somewhere in here:
https://github.com/GarageGames/Torque3D ... #L339-L417

Maybe either always start it at art/shapes/* or use a pref variable to store the latest used path or store it in the settings.xml in tools/ folder like the other editor settings. Even if you need to navigate to a folder before that, you can still go back.

So what do you think? Is this a good idea or not?
JeffR
Steering Committee
Steering Committee
Posts: 741
Joined: Tue Feb 03, 2015 9:49 pm
 
by JeffR » Wed Feb 08, 2017 7:11 pm
As mentioned in irc, it's not a bad idea(though it SHOULD try and default to the last directory you opened a shape from).

In 4.0, we're shifting to assets and the asset browser, so that'll skip out on needing to fuss on picking your way through the file browser every time and instead you just select through the asset browser. The asset has the actual file path info in it, so the end result should be less fussing about specific directories and files.
Duion
Posts: 806
Joined: Sun Feb 08, 2015 1:51 am
 
by Duion » Wed Feb 08, 2017 8:30 pm
Ok, sir.
3 posts Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests