MustardUI icon indicating copy to clipboard operation
MustardUI copied to clipboard

Few suggestions

Open J4ke6599 opened this issue 1 year ago • 2 comments

  1. Is it possible to make it so that you can add multiple properties to the UI at once? Basically you could press a spesific menu button that brings up a checkbox list of properties on the selected object, where you can choose to add multiple props to the sections of your choosing at once.

  2. Would be nice to delete multiple outfits with a similar menu as above or all outfits simultaneously from the UI. Currently you can only remove them one by one and it's a pain if you have multiple outfit collections. Deleting the collections manually from the scene will cause the UI to start throwing errors because I think it still has the data about the outfits. Also in the menu, there could be a button that deletes all outfits except the one selected, basically inverting the selection.

  3. Place properties to appropriate sections automatically if you delete objects, which had been added in the UI. For example if I have some outfits, which had properties included in the outfits section of the menu and I choose to delete those collections but readd them later, I would have to manually reinsert the properies to the UI and place them to the proper sections. Obviously it will also require me to fix the driver targets from the duplicate armature to the current, as Blender has no way of preserving targets on drivers or modifiers on different scenes, but once it's done, automatic detection for it would be nice.

  4. Custom menu icon. Is it possible to add your own icons to the UI, provided they follow the same rules as the stock icons?

  5. Choose different colors on different sections of the UI, if possible.

  6. Execute scripts from the UI. Maybe with its own section, where you can also name the scripts and give them descriptions.

J4ke6599 avatar Dec 22 '24 11:12 J4ke6599

Hi!

Let me answer to all of those one by one.

  1. This seems a nice idea, I have to explore how to implement it though.
  2. There is already a function to remove all outfits except the current active one. You can use it enabling Developement in the addon settings, and then use the Simplify button in the UI.
  3. This seems a bit tricky, but I might check it. Because if you remove something, there is no way to know if the user adding something back wants those properties back as well.
  4. This is a bit difficult because it would require to add files to the UI add-on folder just for the specific model. I might add them for everybody, but it would be extremely difficult to implement something that a model creator can add only for their models. I.e., it would require to change the Python script.
  5. Unfortunately this is a limitation of Blender, color of section/panels can not be changed as far as I know. :(
  6. This would be great to do, and not even so difficult to implement. But it's extremely dangerous. In fact any snippet of code inside the addon can also potentially be harmful, and in that case you would have to trust not only me as the maintainer of the addon, but also whoever provides you the model.

Mustard2 avatar Jan 16 '25 18:01 Mustard2

I investigated some of the suggestions, and unfortunately I have to rule out 2, 4, 5 and 6 due to Blender Extension requirements.

Mustard2 avatar Jan 31 '25 23:01 Mustard2