Conversation
Added functionality to manage custom font folders in the add-on preferences, including operators to add and remove folders.
Added a custom wrapper to append user-defined font folders from addon preferences.
samytichadou
left a comment
There was a problem hiding this comment.
Thanks a lot for your work, a few refinements, but this will be a nice addition to the addon :)
| # --- UI für die Custom Folders --- | ||
| box = layout.box() | ||
| box.label(text="Custom Font Folders:", icon='FILE_FOLDER') | ||
|
|
There was a problem hiding this comment.
add an aligned column to keep the layout more compact
| @@ -1,10 +1,47 @@ | |||
| import bpy | |||
There was a problem hiding this comment.
Globally remove german (comment and description) and replace it by english
| print("FONTSELECTOR --- OS not supported") | ||
|
|
||
|
|
||
|
|
There was a problem hiding this comment.
to me this is not the proper way to do this, it should not be either custom or os folders. We should keep both (OS folder, custom folders), and not have error handling to replace the original function.
I think a get_folders function should call os folders AND custom folders.
This allows to have custom behavior in the future, with a bool prop for example, to use only one or the other. And this would be easier to read an understand.
Tell me if i'm not clear ! :)
And can you replace german by english ?
u mean like that?
https://github.com/user-attachments/assets/1f657f01-5f4b-4227-a811-f3eec0a52874