From: Mikko Rasa Date: Sun, 25 Sep 2022 16:32:08 +0000 (+0300) Subject: Fix exporting of single objects X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=60f288b3a6b5753702ed2b2c035f29778ae0b7d0;p=libs%2Fgl.git Fix exporting of single objects --- 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 = {}