mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 02:02:22 +00:00
Fixed error in disabling text exiting after deleting text literal
This commit is contained in:
@@ -755,9 +755,9 @@ class Drawing(blenderbim.core.tool.Drawing):
|
|||||||
|
|
||||||
literals = cls.get_text_literal(obj, return_list=True)
|
literals = cls.get_text_literal(obj, return_list=True)
|
||||||
if not literals:
|
if not literals:
|
||||||
|
props.literals.clear()
|
||||||
return
|
return
|
||||||
|
|
||||||
if not props.literals:
|
|
||||||
cls.import_text_attributes(obj)
|
cls.import_text_attributes(obj)
|
||||||
|
|
||||||
for i, literal in enumerate(literals):
|
for i, literal in enumerate(literals):
|
||||||
|
|||||||
Reference in New Issue
Block a user