Fix missing FOOTPRINT cast in swig

Fixes https://gitlab.com/kicad/code/kicad/issues/10236
This commit is contained in:
Seth Hillbrand
2022-01-04 10:49:01 -08:00
parent ed9a3deb57
commit ca8cf14dff
+1 -1
View File
@@ -139,7 +139,7 @@ static PCB_TARGET* Cast_to_PCB_TARGET( BOARD_ITEM* );
return Cast_to_PCB_SHAPE(self)
elif ct=="MGRAPHIC":
return Cast_to_FP_SHAPE(self)
elif ct=="MODULE":
elif ct=="FOOTPRINT":
return Cast_to_FOOTPRINT(self)
elif ct=="PCB_GROUP":
return Cast_to_PCB_GROUP(self)