Fix #104658: Update BoolTool for removal of old style context override #104662
@ -554,8 +554,9 @@ class Auto_Boolean:
|
|||||||
md.operation = mode
|
md.operation = mode
|
||||||
md.object = ob
|
md.object = ob
|
||||||
|
|
||||||
override = {"object": obj}
|
context_override = {'object': obj}
|
||||||
bpy.ops.object.modifier_apply(override, modifier=md.name)
|
with bpy.context.temp_override(**context_override):
|
||||||
|
bpy.ops.object.modifier_apply(modifier=md.name)
|
||||||
|
|
||||||
if ob_delete:
|
if ob_delete:
|
||||||
bpy.data.objects.remove(ob)
|
bpy.data.objects.remove(ob)
|
||||||
|
Loading…
Reference in New Issue
Block a user