Merge pull request #9445 from Roy-043/Draft-use-convert_draft_texts-in-importDXF.py

Draft: use convert_draft_texts in importDXF.py
This commit is contained in:
Yorik van Havre
2023-05-03 11:05:43 +02:00
committed by GitHub

View File

@@ -2729,7 +2729,7 @@ def open(filename):
FreeCAD.setActiveDocument(doc.Name)
import Import
Import.readDXF(filename)
Draft.convertDraftTexts() # convert annotations to Draft texts
Draft.convert_draft_texts() # convert annotations to Draft texts
doc.recompute()
@@ -2771,7 +2771,7 @@ def insert(filename, docname):
else:
import Import
Import.readDXF(filename)
Draft.convertDraftTexts() # convert annotations to Draft texts
Draft.convert_draft_texts() # convert annotations to Draft texts
doc.recompute()
def getShapes(filename):