Draft: use convert_draft_texts in importDXF.py

This commit is contained in:
Roy-043
2023-04-30 19:22:23 +02:00
committed by GitHub
parent b5a548e3fd
commit d7e0100d4b

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):