Updated 2 file paths to make the code work with AppImage
As advised in this forum post: https://forum.freecad.org/viewtopic.php?p=788556#p788556
This commit is contained in:
@@ -613,8 +613,8 @@ def _create_objects(doc=None,
|
||||
doc.recompute()
|
||||
|
||||
|
||||
def create_test_file(font_file=App.getHomePath()+"data/Mod/TechDraw/Resources/fonts/osifont-lgpl3fe.ttf",
|
||||
hatch_file=App.getHomePath()+"data/Mod/TechDraw/PAT/FCPAT.pat",
|
||||
def create_test_file(font_file=App.getResourceDir()+"Mod/TechDraw/Resources/fonts/osifont-lgpl3fe.ttf",
|
||||
hatch_file=App.getResourceDir()+"Mod/TechDraw/PAT/FCPAT.pat",
|
||||
hatch_name="Horizontal5"):
|
||||
"""Create a complete test file of Draft objects.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user