addons-contrib: view_layer.objects.active syntax update

This commit is contained in:
NBurn
2019-01-28 20:12:14 -05:00
parent b0ba522141
commit 059f8cc709
31 changed files with 126 additions and 126 deletions

View File

@ -84,7 +84,7 @@ class KTX_Cleanup(bpy.types.Operator):
def execute(self, context):
for o in bpy.data.objects:
o.select_set(False)
context.scene.objects.active = None
context.view_layer.objects.active = None
return {'FINISHED'}