ty: check assert_never

Had to bump `ty`, because 0.0.61 added support for `value in [A, B, C]` pattern for type narrowing.
This commit is contained in:
Andrej730
2026-07-18 10:43:06 +05:00
parent 47dc1a6c68
commit 5994fbde27
3 changed files with 4 additions and 2 deletions
+3
View File
@@ -124,6 +124,9 @@ class Pset(bonsai.core.tool.Pset):
return bpy.context.scene.GroupPsetProperties
elif obj_type == "Zone":
return bpy.context.scene.ZonePsetProperties
elif obj_type == "Cost":
# No psets for cost items currently.
assert False, obj_type
assert_never(obj_type)
@classmethod