io_import_dxf: Fix switch scene #104552
@ -1379,7 +1379,7 @@ class Do:
|
|||||||
return o
|
return o
|
||||||
|
|
||||||
def _recenter(self, scene, name):
|
def _recenter(self, scene, name):
|
||||||
bpy.context.screen.scene = scene
|
bpy.context.window.scene = scene
|
||||||
bpy.context.view_layer.update()
|
bpy.context.view_layer.update()
|
||||||
bpy.ops.object.select_all(action='DESELECT')
|
bpy.ops.object.select_all(action='DESELECT')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user