Skip to content

Commit

Permalink
Start: Handle addons with non-standard WB name
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Jan 15, 2019
1 parent bdbea25 commit 71d57b3
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions src/Mod/Start/StartPage/StartPage.py
Expand Up @@ -369,11 +369,30 @@ def handle():
wn = wb[:-9]
else:
wn = wb
# fixes for non-standard names
if wn == "flamingoTools":
wn = "flamingo"
if wn == "Geodat":
elif wn == "Geodat":
wn = "geodata"
if wn == "None":
elif wn == "a2p":
wn = "A2plus"
elif wn == "ArchTexture":
wn = "ArchTextures"
elif wn == "CadQuery":
wn = "cadquery_module"
elif wn == "DefeaturingWB":
wn = "Defeaturing"
elif wn == "ManipulatorWB":
wn = "Manipulator"
elif wn == "PartOMagic":
wn = "Part-o-magic"
elif wn == "SM":
wn = "sheetmetal"
elif wn == "gear":
wn = "FCGear"
elif wn == "frame_":
wn = "frame"
elif wn == "None":
continue
wblist.append(wn.lower())
if wb in iconbank:
Expand Down

0 comments on commit 71d57b3

Please sign in to comment.