Fix user add-ons not showing up with "User" filter in Preferences
Mistake in ba25023d22, updated the drawing code with the wrong function
call. So when setting the add-ons category to "User", add-ons installed
in the user paths (custom paths configured in Preferences) wouldn't show
up.
This commit is contained in:
@@ -1951,7 +1951,7 @@ class USERPREF_PT_addons(AddOnPanel, Panel):
|
||||
|
||||
addon_user_dirs = tuple(
|
||||
p for p in (
|
||||
*[os.path.join(pref_p, "addons") for pref_p in bpy.utils.script_path_user()],
|
||||
*[os.path.join(pref_p, "addons") for pref_p in bpy.utils.script_paths_pref()],
|
||||
bpy.utils.user_resource('SCRIPTS', path="addons"),
|
||||
)
|
||||
if p
|
||||
|
||||
Reference in New Issue
Block a user