This commit is contained in:
Nicolas Predella 2026-05-17 13:36:02 +03:00
parent 5275b98cb5
commit 5050a5fa5f

View file

@ -132,7 +132,7 @@ class SLICESOCK_PrusaslicerConf(LabelNodeSocket):
bl_color = (0.95, 0., 0., 1.0) # #F26C21 bl_color = (0.95, 0., 0., 1.0) # #F26C21
@register_class @register_class
class SLICENODE_OverrideItem(bpy.types.PropertyGroup): class OverrideItem(bpy.types.PropertyGroup):
field: NfStringProperty(name="Field", default="") # pyright: ignore[reportInvalidTypeForm] field: NfStringProperty(name="Field", default="") # pyright: ignore[reportInvalidTypeForm]
value_str: NfStringProperty(name="Value", default="") # pyright: ignore[reportInvalidTypeForm] value_str: NfStringProperty(name="Value", default="") # pyright: ignore[reportInvalidTypeForm]
@ -162,7 +162,7 @@ class CollectionInputNodeSocket(InputNodeSocket):
class SLICESOCK_Overrides_Common(CollectionInputNodeSocket): class SLICESOCK_Overrides_Common(CollectionInputNodeSocket):
bl_label = "Overrides" bl_label = "Overrides"
items: CollectionProperty(type=SLICENODE_OverrideItem) # pyright: ignore[reportInvalidTypeForm] items: CollectionProperty(type=OverrideItem) # pyright: ignore[reportInvalidTypeForm]
bl_color = (1.0, 1.0, 0.0, 1.0) # Yellow bl_color = (1.0, 1.0, 0.0, 1.0) # Yellow