Arch: add missing translate function
The code was moved to a separate module, `ArchWindowPresets.py`,
in be0c8eab25, but the `translate` function was not imported
in this new module.
This commit is contained in:
@@ -20,7 +20,10 @@
|
||||
#***************************************************************************
|
||||
|
||||
import FreeCAD
|
||||
|
||||
from FreeCAD import Vector
|
||||
from draftutils.translate import translate
|
||||
|
||||
|
||||
WindowPresets = ["Fixed", "Open 1-pane", "Open 2-pane", "Sash 2-pane",
|
||||
"Sliding 2-pane", "Simple door", "Glass door", "Sliding 4-pane"]
|
||||
|
||||
Reference in New Issue
Block a user