Open AlexNorth365 opened 9 months ago
change _userpreferences to preferences in the file /scripts/addons/blender-addon-master/updates.py
path = os.path.join(bpy.context.preferences.filepaths.temporary_directory, 'lightfield')
Can blender3.6 be used?
Dear there.
My system is apple mac m1,my blender is 3.6. after installing and enabling it, I have the following error, looking forward to your reply!
Traceback (most recent call last): File "/Applications/Blender3.6.app/Contents/Resources/3.6/scripts/modules/addon_utils.py", line 333, in enable mod = import(module_name) File "/Users/cdy/Library/Application Support/Blender/3.6/scripts/addons/blender-addon-master/init.py", line 61, in
class LFPropertyGroup(bpy.types.PropertyGroup):
File "/Users/cdy/Library/Application Support/Blender/3.6/scripts/addons/blender-addon-master/init.py", line 176, in LFPropertyGroup
default=updates.get_default_target_directory(),
File "/Users/cdy/Library/Application Support/Blender/3.6/scripts/addons/blender-addon-master/updates.py", line 105, in get_default_target_directory
path = os.path.join(bpy.context.user_preferences.filepaths.temporary_directory, 'lightfield')
AttributeError: '_RestrictContext' object has no attribute 'user_preferences'