← Back to team overview

kicad-developers team mailing list archive

Re-add possibility to load components with bezier curves

 

Seems that the possibility to add libraries that contains bezier curves waslost in the commits.

Under the change to reenable them.

Index: class_libentry.cpp
===================================================================
--- class_libentry.cpp	(revision 1942)
+++ class_libentry.cpp	(working copy)
@@ -517,6 +517,10 @@
newEntry = ( LibEDA_BaseStruct* ) new LibDrawPolyline(this);
break;
 
+ case 'B': /* Bezier Curves */
+ newEntry = ( LibEDA_BaseStruct* ) new LibDrawBezier(this);
+ break;
+
default:
errorMsg.Printf( _( "undefined DRAW command %c" ), line[0] );
m_Drawings = headEntry;