f14dc8f2be
The unfortunate combination of using static_cast to promote board items to module items then using the assignment operator without any thought as to what would happen in MODULE::Add() caused the board objects to not be added to the module. This is expected because board items cannot be in modules. Did this ever work or did someone have a colossal brain cramp? If it did work, who ever changed it did not test it because in debug builds, you would have gotten and assertion on every object imported. On release builds nothing is imported silently. Add module object types to the DXF importer and code to choose which type of object to import. Remove offending static casts and assignment operator and pass the correct object directly to the MODULE::Add() function when importing DXF in the footprint editor. The usual coding policy fixes. |
||
---|---|---|
.. | ||
examples | ||
dialog_dxf_import.cpp | ||
dialog_dxf_import.fbp | ||
dialog_dxf_import.h | ||
dialog_dxf_import_base.cpp | ||
dialog_dxf_import_base.h | ||
dxf2brd_items.cpp | ||
dxf2brd_items.h |