From 60f288b3a6b5753702ed2b2c035f29778ae0b7d0 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 25 Sep 2022 19:32:08 +0300 Subject: [PATCH] Fix exporting of single objects --- blender/io_mspgl/export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blender/io_mspgl/export.py b/blender/io_mspgl/export.py index 530c83df..9e60f284 100644 --- a/blender/io_mspgl/export.py +++ b/blender/io_mspgl/export.py @@ -2,7 +2,7 @@ import os class DataExporter: def export_to_file(self, ctx, out_fn, *, collection=False, shared_resources=False): - objects = context.context.selected_objects + objects = ctx.context.selected_objects resources = {} -- 2.45.2