Skip to content

Commit

Permalink
Arch: fixed importWebGL to work from command line
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Apr 27, 2014
1 parent ccde13a commit c64b169
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Mod/Arch/importWebGL.py
Expand Up @@ -28,12 +28,14 @@
FreeCAD camera, and $ObjectsData a placeholder for the FreeCAD objects."""

import FreeCAD,Draft,Part,DraftGeomUtils
from DraftTools import translate

if FreeCAD.GuiUp:
import FreeCADGui
from DraftTools import translate
else:
FreeCADGui = None
def translate(ctxt,txt):
return txt

tab = " " # the tab size
wireframeStyle = "faceloop" # this can be "faceloop", "multimaterial" or None
Expand Down

0 comments on commit c64b169

Please sign in to comment.