Fixed embarrassing typo that stopped PSK collection exporter from working
This commit is contained in:
@@ -270,8 +270,8 @@ class PSK_OT_export_collection(Operator, ExportHelper, PskExportMixin):
|
|||||||
def execute(self, context):
|
def execute(self, context):
|
||||||
collection = bpy.data.collections.get(self.collection, None)
|
collection = bpy.data.collections.get(self.collection, None)
|
||||||
|
|
||||||
if collection is not None:
|
assert collection is not None
|
||||||
return {'CANCELLED'}
|
assert context.scene is not None
|
||||||
|
|
||||||
try:
|
try:
|
||||||
input_objects = get_psk_input_objects_for_collection(collection)
|
input_objects = get_psk_input_objects_for_collection(collection)
|
||||||
|
|||||||
Reference in New Issue
Block a user