BIM: Fix imports of Python importers
This commit is contained in:
committed by
Yorik van Havre
parent
4c50f29442
commit
04eb73bea4
@@ -252,7 +252,7 @@ class BIM_IfcExplorer:
|
||||
def insert(self):
|
||||
"inserts selected objects in the active document"
|
||||
|
||||
import importIFC
|
||||
from importers import importIFC
|
||||
from PySide import QtCore, QtGui
|
||||
|
||||
doc = FreeCAD.ActiveDocument
|
||||
|
||||
@@ -588,7 +588,7 @@ class BIM_Library_TaskPanel:
|
||||
|
||||
todo.delay(self.reject, None)
|
||||
elif ext == ".ifc":
|
||||
import importIFC
|
||||
from importers import importIFC
|
||||
|
||||
importIFC.ZOOMOUT = False
|
||||
importIFC.insert(path, FreeCAD.ActiveDocument.Name)
|
||||
|
||||
Reference in New Issue
Block a user