Page Menu
Home
Search
Configure Global Search
Log In
Files
F14030
userpref_valueerror_real_fix.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Authored By
Amorilia (amorilia)
Nov 13 2013, 2:57 PM
Size
963 B
Subscribers
None
userpref_valueerror_real_fix.patch
View Options
diff --git a/2.56/scripts/ui/space_userpref.py b/2.56/scripts/ui/space_userpref.py
index 79bdff8..e49b06d 100644
--- a/2.56/scripts/ui/space_userpref.py
+++ b/2.56/scripts/ui/space_userpref.py
@@ -965,7 +965,7 @@ class USERPREF_PT_addons(bpy.types.Panel):
sups.discard("")
if USERPREF_PT_addons._addons_sups != sups:
- bpy.types.WindowManager.addon_support = bpy.props.EnumProperty(items=[(sup, sup.title(), "") for sup in reversed(sorted(sups))], name="Support", description="Display support level", default={'OFFICIAL', 'COMMUNITY'}, options={'ENUM_FLAG'})
+ bpy.types.WindowManager.addon_support = bpy.props.EnumProperty(items=[(sup, sup.title(), "") for sup in sorted({"OFFICIAL", "COMMUNITY"} | sups)], name="Support", description="Display support level", default={'OFFICIAL', 'COMMUNITY'}, options={'ENUM_FLAG'})
USERPREF_PT_addons._addons_sups = sups
split = layout.split(percentage=0.2)
File Metadata
Details
Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
3f/fe/5a3180bbef20eb2ee71a139df5a3
Event Timeline
Log In to Comment