@Limteng could you open a new report please which exact steps to redo (reference this report).
Closing this report as this isn't a mistake or error in the code, it's a request to make the UI work as it used to which is understandable but not something we handle as a bug in the tracker.
Worth mentioning the name is to be unique, and I think it would be best to make this non-empty too (details in other comment).
If DEFAULT
or an empty string is passed in, use a fallback name such as "Untitled" or "Path", this avoids having to account for unlikely corner cases - maybe the user has a points to a script dir called DEFAULT
and gets an error in the operator.
newer autopep8 removes parenthesis after assert (they're not needed), so prefer not to add them.
newer autopep8 removes parenthesis after assert (they're not needed), so prefer not to add them.
Should read "Returns a list of user preference script directories."
or similar.
This comment can be removed and a deprecation warning can be shown, e.g.
picky assign a value and avoid accessing script_directory.directory
twice.
This raises some questions that I'd be interested to hear feedback from artists in the Blender studio.
- Firstly is this needed, is this something many users who frequently use shape-keys would…