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