On further consideration, i think this bug primarily affects the spice netlist export.
The diff is so small I'm just pasting it. :)
diff --git a/eeschema/netlist_exporters/netlist_exporter_pspice.cpp b/eeschema/netlist_exporters/netlist_exporter_pspice.cpp index 6a4511a..fd1cc37 100644 --- a/eeschema/netlist_exporters/netlist_exporter_pspice.cpp +++ b/eeschema/netlist_exporters/netlist_exporter_pspice.cpp @@ -83,6 +83,10 @@ bool NETLIST_EXPORTER_PSPICE::Format( OUTPUTFORMATTER* aFormatter, unsigned aCtl full_path = lib; } } + else + { + full_path = lib; // just use the unaltered path + }
aFormatter->Print( 0, ".include \"%s\"\n", (const char*) full_path.c_str() ); }
On further consideration, i think this bug primarily affects the spice netlist export.
The diff is so small I'm just pasting it. :)
diff --git a/eeschema/ netlist_ exporters/ netlist_ exporter_ pspice. cpp b/eeschema/ netlist_ exporters/ netlist_ exporter_ pspice. cpp netlist_ exporters/ netlist_ exporter_ pspice. cpp netlist_ exporters/ netlist_ exporter_ pspice. cpp EXPORTER_ PSPICE: :Format( OUTPUTFORMATTER* aFormatter, unsigned aCtl
full_ path = lib;
index 6a4511a..fd1cc37 100644
--- a/eeschema/
+++ b/eeschema/
@@ -83,6 +83,10 @@ bool NETLIST_
}
}
+ else
+ {
+ full_path = lib; // just use the unaltered path
+ }
}