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:
Seth Hillbrand 2022-01-04 10:49:01 -08:00
parent dda569d486
commit e6b5cb3a5c
1 changed files with 1 additions and 1 deletions

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)