[PCB2Blender_tools][Fixed] The boards dir must be included

- Even when empty
- Otherwise we get an error from the importer
This commit is contained in:
Salvador E. Tropea 2023-01-07 11:33:22 -03:00
parent 54e4279c5f
commit f66f34aebc
1 changed files with 2 additions and 0 deletions

View File

@ -271,6 +271,8 @@ class PCB2Blender_ToolsOptions(VariantOptions):
files.append(os.path.join(subdir, self.sub_boards_bounds_file))
for stacked in boarddef.stacked_boards:
files.append(os.path.join(subdir, self.sub_boards_stacked_prefix+stacked.name))
else:
files.append(dir_name)
return files