mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-08 17:01:40 +00:00
Fix value errors in update callback
Blender is requiring update callback to return `None`, otherwise it prints `ValueError: the return value must be None`.
This commit is contained in:
@@ -82,7 +82,7 @@ class BIMProfileProperties(PropertyGroup):
|
||||
name="Filter Material Profiles",
|
||||
default=False,
|
||||
description="Check to only show IfcProfileDefs attached to IfcMaterialProfiles",
|
||||
update=lambda self, context: bpy.ops.bim.load_profiles(),
|
||||
update=lambda self, context: (None, bpy.ops.bim.load_profiles())[0],
|
||||
)
|
||||
object_to_profile: PointerProperty(
|
||||
name="Object to profile",
|
||||
|
||||
Reference in New Issue
Block a user