Skip to content

Commit

Permalink
Bug fix: Allow Draft WB to import in FreeCAD headless docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
amrit3701 committed Dec 27, 2023
1 parent b9bfa5c commit 1cb3ead
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Mod/Draft/draftmake/make_hatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@

import FreeCAD
from draftobjects.hatch import Hatch
from draftviewproviders.view_hatch import ViewProviderDraftHatch
if FreeCAD.GuiUp:
from draftviewproviders.view_hatch import ViewProviderDraftHatch

def make_hatch(baseobject, filename, pattern, scale, rotation):

Expand Down

0 comments on commit 1cb3ead

Please # to comment.