Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,13 @@ def register():
else:
pass # From 2.83 on this is no longer needed
tools.common.get_user_preferences().filepaths.use_file_compression = True
bpy.context.window_manager.addon_support = {'OFFICIAL', 'COMMUNITY', 'TESTING'}


# Updated to avoid future issues with this api changing and causing it not to work
try:
bpy.context.window_manager.addon_support = {'OFFICIAL', 'COMMUNITY'}
except Exception:
pass

# Add shapekey button to shapekey menu
if hasattr(bpy.types, 'MESH_MT_shape_key_specials'): # pre 2.80
Expand Down