Fix failing pset_template tests. Regression in 5bd24b276 for editing pset template properties.

This commit is contained in:
Dion Moult
2025-02-07 23:33:33 +11:00
parent f11d79f8c1
commit 49c3a55456
@@ -121,7 +121,7 @@ class EnableEditingPropTemplate(bpy.types.Operator):
prop_template: bpy.props.IntProperty()
def execute(self, context):
tool.PsetTemplate.enable_editing_prop_template(tool.Ifc.get().by_id(self.prop_template))
tool.PsetTemplate.enable_editing_prop_template(IfcStore.pset_template_file.by_id(self.prop_template))
return {"FINISHED"}