Skip to content

Commit

Permalink
+ use correct function to get resource directory
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Apr 5, 2015
1 parent d54457e commit 244b3ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Fem/MechanicalMaterial.py
Expand Up @@ -230,7 +230,7 @@ def chooseMat(self,index):
def fillMaterialCombo(self):
import glob,os
matmap = self.obj.Material
dirname = FreeCAD.ConfigGet("AppHomePath")+"data/Mod/Material/StandardMaterial"
dirname = FreeCAD.getResourceDir()+"/Mod/Material/StandardMaterial"
self.pathList = glob.glob(dirname + '/*.FCMat')
self.form.comboBox_MaterialsInDir.clear()
'''if(matmap.has_key('General_name')):
Expand Down

0 comments on commit 244b3ae

Please sign in to comment.