Fix missing FOOTPRINT cast in swig
Fixes https://gitlab.com/kicad/code/kicad/issues/10236
(cherry picked from commit ca8cf14dff
)
This commit is contained in:
parent
dda569d486
commit
e6b5cb3a5c
|
@ -139,7 +139,7 @@ static PCB_TARGET* Cast_to_PCB_TARGET( BOARD_ITEM* );
|
||||||
return Cast_to_PCB_SHAPE(self)
|
return Cast_to_PCB_SHAPE(self)
|
||||||
elif ct=="MGRAPHIC":
|
elif ct=="MGRAPHIC":
|
||||||
return Cast_to_FP_SHAPE(self)
|
return Cast_to_FP_SHAPE(self)
|
||||||
elif ct=="MODULE":
|
elif ct=="FOOTPRINT":
|
||||||
return Cast_to_FOOTPRINT(self)
|
return Cast_to_FOOTPRINT(self)
|
||||||
elif ct=="PCB_GROUP":
|
elif ct=="PCB_GROUP":
|
||||||
return Cast_to_PCB_GROUP(self)
|
return Cast_to_PCB_GROUP(self)
|
||||||
|
|
Loading…
Reference in New Issue