Fix #2349. Be more defensive on invalid smart annotations.

This commit is contained in:
Dion Moult
2023-01-29 15:15:00 +11:00
parent efc3a692cb
commit 396fd5520f
@@ -238,6 +238,8 @@ class Selector:
if key in info and info[key] == value:
element = material
element = material_definition
if not element:
return None
except:
return
elif "." in key and key.split(".")[0] == "container":