How can I recreate the workspace?

Im currently creating a plugin that basically recreates the workspace, why you ask? To make it so I can organize stuff better :D (No its not about the new gen explorer, I actually like it lol)


Anyhow, getting back to the point, Im aiming to again, recreate it, but I was curious on how I should go about doing this? Obviously when I want to display items I can just loop through all of games descendants, and blah blah blah, but displaying name changes could be costly if Im keeping track of the name change for every single object, so I guess I was wondering how I can do this in the most optimized way! Any ideas would be appreciated!

(Also any helpful feature ideas would be nice, cause uh yeah :D)
Ok thanks in advanced!

To optimize detecting name changes you could only keep track of objects that are visible in the tree. Like if they have a folder opened it would detect all name changes of the children, if the folder is closed it would remove those connections and only detect the name change for that said folder.

2 Likes

That might not register a name change if the name of some object is changed while there’s no event connection on it. At least, if I’m understanding what OP wants correctly.

When the user opens a folder it should also update the names and make a connection to detect any further changes after that aswell

1 Like