Arch: Material improvements

* Fix in material editor when loading existing material
* Added some properties to Arch materials that reflect the contents of the material dictionary
* Added some similar properties to Arch equipment
* Fixed standard code button in Arch material panel to go to Omniclass website to pick a code
This commit is contained in:
Yorik van Havre
2017-03-08 20:39:38 -03:00
parent 93983d8b6a
commit ea274e59ed
4 changed files with 178 additions and 17 deletions

View File

@@ -70,6 +70,8 @@ class MaterialEditor:
d = FreeCAD.ActiveDocument.getObject(self.obj).getPropertyByName(self.prop)
elif self.material:
d = self.material
if d:
self.updateContents(d)
def updateCards(self):