Skip to content

Commit 7441de7

Browse files
committed
- Tweaked: Export Configs in Batch Export are now all automatically selected if list is empty
1 parent fa92810 commit 7441de7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ArmaToolbox/BatchMDLExport.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,11 @@ def poll(cls, context):
172172
return context.scene.armaExportConfigs.exportConfigs.keys().__len__() != 0
173173

174174
def invoke(self, context, event):
175+
if len(self.configs) == 0:
176+
for item in context.scene.armaExportConfigs.exportConfigs.values():
177+
x = self.configs.add()
178+
x.name = item.name
179+
175180
context.window_manager.fileselect_add(self)
176181
return {'RUNNING_MODAL'}
177182

0 commit comments

Comments
 (0)