From 7a7e0ef2133ecba7335ed54726414525f0160654 Mon Sep 17 00:00:00 2001 From: Matt-Kron <24357592+Matt-Kron@users.noreply.github.com> Date: Sun, 21 Jan 2018 15:31:41 +0100 Subject: [PATCH] moving temp file from WB folder to $HOME: planConstraint forgot modification from https://github.com/hamish2014/FreeCAD_assembly2/pull/144 --- planeConstraint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/planeConstraint.py b/planeConstraint.py index c9913bd..b23aa61 100644 --- a/planeConstraint.py +++ b/planeConstraint.py @@ -4,7 +4,7 @@ from PySide import QtGui __dir2__ = os.path.dirname(__file__) -GuiPath = os.path.join( __dir2__, 'Gui' ) +GuiPath = os.path.expanduser ("~") #GuiPath = os.path.join( __dir2__, 'Gui' ) class PlaneSelectionGate: def allow(self, doc, obj, sub): return planeSelected( SelectionExObject(doc, obj, sub) )