]> git.tdb.fi Git - libs/gl.git/commitdiff
Fix exporting of single objects
authorMikko Rasa <tdb@tdb.fi>
Sun, 25 Sep 2022 16:32:08 +0000 (19:32 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 25 Sep 2022 17:21:57 +0000 (20:21 +0300)
blender/io_mspgl/export.py

index 530c83df6e8cb8e1d24a148b0bae8a7c91373210..9e60f28487f0ccd8b7b42aaad14484b2e72d530f 100644 (file)
@@ -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 = {}