Skip to content

Commit c6e7cf4

Browse files
committed
Fixed not working with KiCAD8
1 parent b3f2b9a commit c6e7cf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pcbdraw/plot.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1154,7 +1154,7 @@ def walk_components(self, invert_side: bool,
11541154
center = footprint.GetPosition()
11551155
orient = math.radians(footprint.GetOrientation().AsDegrees())
11561156
pos = (center.x, center.y, orient)
1157-
props = {str(i): v for i, v in dict(footprint.GetPropertiesNative()).items()}
1157+
props = footprint.GetFieldsText()
11581158
callback(lib, name, ref, value, pos, props)
11591159

11601160
def get_def_slot(self, tag_name: str, id: str) -> etree.SubElement:

0 commit comments

Comments
 (0)