Closed YHOOOO996 closed 10 months ago
bpy.data.window_managers["WinMan"].addon_search = "edit" bpy.ops.object.modifier_add(type='EDGE_SPLIT') bpy.ops.mira.wrap_object() Python: Traceback (most recent call last): File "C:\Users\Admin\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\mira_tools\mi_wrap_master.py", line 61, in execute bpy.context.object.modifiers["EdgeSplit"].split_angle = 0 KeyError: 'bpy_prop_collection[key]: key "EdgeSplit" not found' bpy.data.window_managers["WinMan"].addon_search = "machine" bpy.data.window_managers["WinMan"].addon_search = "mach" 已保存偏好设置(preference have been saved) bpy.ops.object.delete(use_global=False) bpy.ops.object.modifier_add(type='EDGE_SPLIT') bpy.ops.mira.wrap_object() Python: Traceback (most recent call last): File "C:\Users\Admin\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\mira_tools\mi_wrap_master.py", line 61, in execute bpy.context.object.modifiers["EdgeSplit"].split_angle = 0 KeyError: 'bpy_prop_collection[key]: key "EdgeSplit" not found'
it will copy a new mesh with edgesplit modifier which haven't been applied
if i recover preference setting to default, it work,so i guess maybe other addon cause this
@YHOOOO996 thank you so much for your report. I've fixed the bug in latest. Please, get latest files.
bpy.data.window_managers["WinMan"].addon_search = "edit" bpy.ops.object.modifier_add(type='EDGE_SPLIT') bpy.ops.mira.wrap_object() Python: Traceback (most recent call last): File "C:\Users\Admin\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\mira_tools\mi_wrap_master.py", line 61, in execute bpy.context.object.modifiers["EdgeSplit"].split_angle = 0 KeyError: 'bpy_prop_collection[key]: key "EdgeSplit" not found' bpy.data.window_managers["WinMan"].addon_search = "machine" bpy.data.window_managers["WinMan"].addon_search = "mach" 已保存偏好设置(preference have been saved) bpy.ops.object.delete(use_global=False) bpy.ops.object.modifier_add(type='EDGE_SPLIT') bpy.ops.mira.wrap_object() Python: Traceback (most recent call last): File "C:\Users\Admin\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\mira_tools\mi_wrap_master.py", line 61, in execute bpy.context.object.modifiers["EdgeSplit"].split_angle = 0 KeyError: 'bpy_prop_collection[key]: key "EdgeSplit" not found'
it will copy a new mesh with edgesplit modifier which haven't been applied