io_import_dxf: Fix switch scene #104552

Merged
Brecht Van Lommel merged 3 commits from :oxicid-dxf into main 2023-04-17 20:39:21 +02:00
Showing only changes of commit c9a9748ec0 - Show all commits

View File

@ -1379,7 +1379,7 @@ class Do:
return o
def _recenter(self, scene, name):
bpy.context.screen.scene = scene
bpy.context.window.scene = scene
bpy.context.view_layer.update()
bpy.ops.object.select_all(action='DESELECT')