mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-10 14:07:43 +00:00
Small fix in polyline input ui decorator.
This commit is contained in:
@@ -492,10 +492,11 @@ class PolylineDecorator:
|
|||||||
new_line = 20
|
new_line = 20
|
||||||
for i, (key, field_name) in enumerate(texts.items()):
|
for i, (key, field_name) in enumerate(texts.items()):
|
||||||
|
|
||||||
if self.tool_state and key != self.tool_state.input_type:
|
if self.input_ui:
|
||||||
formatted_value = self.input_ui.get_formatted_value(key)
|
if self.tool_state and key != self.tool_state.input_type:
|
||||||
else:
|
formatted_value = self.input_ui.get_formatted_value(key)
|
||||||
formatted_value = self.input_ui.get_text_value(key)
|
else:
|
||||||
|
formatted_value = self.input_ui.get_text_value(key)
|
||||||
|
|
||||||
if formatted_value is None:
|
if formatted_value is None:
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user