Index: export_openscad.c =================================================================== --- export_openscad.c (revision 26939) +++ export_openscad.c (revision 26940) @@ -131,7 +131,7 @@ { const char *suffix = ".scad"; - if ((PCB != NULL) && (openscad_attribute_list[HA_openscadfile].default_val.str_value == NULL)) + if ((PCB != NULL) && (openscad_attribute_list[HA_openscadfile].default_val.str == NULL)) pcb_derive_default_filename(PCB->hidlib.filename, &openscad_attribute_list[HA_openscadfile], suffix); if (n) @@ -305,7 +305,7 @@ options = openscad_values; } - filename = options[HA_openscadfile].str_value; + filename = options[HA_openscadfile].str; if (!filename) filename = "pcb.openscad";