[BUG] crash on Arch material if two materials with the same material name are created

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: crash on Arch material if two materials with the same material name are created

Post by bernd »

I used a workaround on import IFC to get around this the time beeing git commit 5e2bb1599989
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: [BUG] crash on Arch material if two materials with the same material name are created

Post by yorik »

ok that workaround seems good to me.. but indeed there is still some bad loop to fix in the code.

i wouldn't be against removing automatic labeling (breaking the mat["name"] = Label rule). maybe we could just leave that on mat creation? Then the two things are kept out of sync.
Post Reply