diff --git a/core/nodeslicer/sockets.py b/core/nodeslicer/sockets.py index 5804ab0..36fceac 100644 --- a/core/nodeslicer/sockets.py +++ b/core/nodeslicer/sockets.py @@ -132,7 +132,7 @@ class SLICESOCK_PrusaslicerConf(LabelNodeSocket): bl_color = (0.95, 0., 0., 1.0) # #F26C21 @register_class -class SLICENODE_OverrideItem(bpy.types.PropertyGroup): +class OverrideItem(bpy.types.PropertyGroup): field: NfStringProperty(name="Field", 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): 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