← Back to team overview

kicad-developers team mailing list archive

PATCH: fix 3d filename parsing

 

When I replaced the S3D_MASTER class with S3D_INFO struct
I made a mistake in my search/replace which resulted in the bug:

https://bugs.launchpad.net/kicad/+bug/1609122

The attached patch fixes this bug.

- Cirilo
=== modified file 'pcbnew/pcb_parser.cpp'
--- pcbnew/pcb_parser.cpp	2016-07-19 17:35:25 +0000
+++ pcbnew/pcb_parser.cpp	2016-08-03 08:30:20 +0000
@@ -344,7 +344,7 @@
 
     S3D_INFO* n3D = new S3D_INFO;
     NeedSYMBOLorNUMBER();
-    n3D->m_Filename = FromUTF8().ToUTF8();
+    n3D->m_Filename = FromUTF8();
 
     for( token = NextTok();  token != T_RIGHT;  token = NextTok() )
     {


Follow ups