Draft: PySide should be available already

This commit is contained in:
vocx-fc
2019-11-18 19:17:58 -06:00
committed by wwmayer
parent e951094af9
commit 5ee4a2e87c

View File

@@ -38,14 +38,18 @@ __url__ = ["http://www.freecadweb.org"]
Report to Draft.py for info
"""
import os
import six
import sys
import traceback
import math
import platform
import FreeCAD, FreeCADGui, os, Draft, sys, traceback, DraftVecUtils, math
import FreeCAD
import FreeCADGui
import Draft
import DraftVecUtils
from PySide import QtCore, QtGui, QtSvg
try:
from PySide import QtCore, QtGui, QtSvg
except ImportError:
FreeCAD.Console.PrintMessage("Error: Python-pyside package must be installed on your system to use the Draft module.")
try:
_encoding = QtGui.QApplication.UnicodeUTF8 if six.PY2 else None