Jump to content

Editor Extension Loading Directory


reepblue
 Share

Recommended Posts

One thing I noticed when making an extension to the editor is that Windows gets really annoying when saving anything manually to the Program Files folder. Another thing is that you may want certain extensions for specific projects. 

Maybe move "global" extensions to the user Documents folder, and then have the editor also read extensions within the project folder if it doesn't already. 

On that note, I also think the blacklist filter should also be extended to be project based with an entry defined within the Ultra.json file. Maybe I don't want to see .dds files in a project that I want to use .basis files, etc.

Cyclone - Ultra Game System - Component PreprocessorTex2TGA - Darkness Awaits Template (Leadwerks)

If you like my work, consider supporting me on Patreon!

Link to comment
Share on other sites

There's probably a good reason not to do this. Editor scripts are like application code. A script can do bad things. If the editor just runs whatever scripts appear in somewhere in a non-admin folder, the editor could do bad things. Making the user copy a file into the "Program Files\Ultra Engine" directory ensures that they have to have admin priveleges to complete that step.

I suppose you could put a script in their that load a folder somewhere else and executes all those scripts, but there's still that critical step where the user has to confirm they know what they are doing and are allowed to.

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

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...