BIM: HumanFigure.brep: fix typo in create_qrc.py

Fixes #20289

My bad. Because of this typo the brep file was not included in Arch_rc.py.
This commit is contained in:
Roy-043
2025-03-19 19:51:51 +01:00
committed by Yorik van Havre
parent 895fe5ea1c
commit fc4aa06f96
2 changed files with 2 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
<RCC>
<qresource>
<file>geometry/HumanFigure.brep</file>
<file>icons/Arch_3Views.svg</file>
<file>icons/Arch_Add.svg</file>
<file>icons/Arch_Axis.svg</file>

View File

@@ -8,7 +8,7 @@ for subdir in ["geometry", "icons", "icons/IFC", "translations", "ui"]:
for f in sorted(os.listdir(subpath)):
if f not in ["Arch.ts", "BIM.ts", "IFC"]:
ext = os.path.splitext(f)[1]
if ext.lower() in [".qm", ".svg", ".ui", ".png", "brep"]:
if ext.lower() in [".qm", ".svg", ".ui", ".png", ".brep"]:
txt += " <file>" + subdir + "/" + f + "</file>\n"
txt += " </qresource>\n</RCC>\n"
with open(os.path.join(cdir, "Arch.qrc"), "w") as resfile: