refactor: Update code comments and docstrings

This commit is contained in:
Blender Defender
2024-07-26 11:18:38 +02:00
committed by Dion Moult
parent f83a7ac730
commit 228bbc30ad
2 changed files with 3 additions and 2 deletions
@@ -136,7 +136,8 @@ class UpdateIfcPatchArguments(bpy.types.Operator):
if new_attr.data_type == "enum":
new_attr.enum_items = json.dumps(arg_info.get("enum_items", []))
new_attr.enum_value = arg_info.get("default", new_attr.get_value_default())
continue # Temporary workaround, because the Argument class resets the type to "string" when calling `set_value`
continue
new_attr.set_value(arg_info.get("default", new_attr.get_value_default()))
return {"FINISHED"}