-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Style set management #789
Style set management #789
Conversation
This is so helpful! I love the ability to favorite and make custom sets. It might be nice to be able to rename a custom style set, in case you change your mind or notice a typo. Interestingly, renaming a custom style folder in the Browser creates a new folder and keeps the old one too. This might just be the default renaming behavior through the browser. I'd argue though that renaming shouldn't create a new version. That's more of a duplicate or save as function. The newly named directory doesn't display in the style editor until after a restart of T2D. I did get a few crashes when going back and forth from this page in my browser and T2D. One time I tried to expand a style set after switching back to T2D. Way back in the day I used to regularly get a similar crash on OT but it hasn't happened in a really long time. |
If enabling/disabling multiple sets, you have to keep pressing the style set button which can be a little annoying. It would be better if that stayed open until you click outside of the dropdown. |
Great suggestions. I'll look to add those before I merge. Maybe I should also add an option to rescan for new/removed sets? As for the crash...that's an odd one. Seems very similar to what DarrenT was experiencing but I could never duplicate it. It seems to be crashing while building an icon for display on a titlebar. I'll have to look into that more. |
Yes, an option to rescan would be great. Loosely related, I've never been a huge fan of how new textures are added through the style editor. When the average user clicks on the "load texture" icon, they never think "ok, now I'll head over to the settings tab to actually load my texture". It's just not intuitive. A more expected behavior would be to press the "load texture" icon and then have a browser pop-up to choose an image texture. Also, thanks so much for working on this. Brush organization has been needed for a long time. |
I agree about the Perhaps, if adding to the Palette (direct click or alt-click only) it should immediately put you onto the Settings tab? |
That should work well - though I'd move the position of the |
Here's the crash report from trying to expand a collection after returning to T2D from a web browser. I've also opened #790 for the first crash: |
This PR updates the Style Editor providing some style and style set management options.
Style Sets
Textures
,Vector
andRaster
tabs will now displayed in collapsable named groups (Style Sets)tahomastuff/library/textures
(forTextures
tab)tahomastuff/library/custom styles
(forVector
tab)tahomastuff/library/vector brushes
(forVector
tab)tahomastuff/library/mypaint brushes
(forRaster
tab)(External)
label appeneded to the style set nameMy Favorites
My Favorites
style settahomastuff/profiles/users/<username>/favorites/library/
in one of the following root folderstextures
forTextures
tabvector styles
forVector
tabraster styles
forRaster
tabMy Favorites
style set is only visible if there is at least 1 style is found(Favorites)
My Favorites
, the file(s) associated with will be copied from the original style set folders to the my favorite foldersGenerated
styles have no files associated with them so a placeholder file is created in the favorites folder with a.gen
extensionCreating/Modifying/Removing style sets
Texture
: BMP and other 32bit Raster image files that Tahoma2D can load normallyVector Brush
: PLICustom Styles
: PLI, TIF, PNG, TGA, TIFF, SGI, RGBRaster
: MYB (MyPaint brush files)Adding style to palette
Mutliple style selection
Known Issues:
Vector
tab for the 1st time