From 864426fb71043ab59e802546e262bbb4d95dc108 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Mon, 6 Jun 2011 08:51:42 +0200 Subject: [PATCH] Pcbnew: fix bug 792399. dialog_about: add translator name. --- common/common_plotGERBER_functions.cpp | 8 ++++---- common/dialog_about/AboutDialog_main.cpp | 2 +- pcbnew/class_edge_mod.cpp | 2 +- pcbnew/plot_rtn.cpp | 4 +--- 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/common/common_plotGERBER_functions.cpp b/common/common_plotGERBER_functions.cpp index 1a9a1367d5..22112bfd37 100644 --- a/common/common_plotGERBER_functions.cpp +++ b/common/common_plotGERBER_functions.cpp @@ -299,12 +299,12 @@ void GERBER_PLOTTER::circle( wxPoint aCentre, int aDiameter, FILL_T aFill, } -/** +/* * Function PlotPoly * writes a filled or not filled polyline to output file - * @param aCoord = buffer of corners coordinates - * @param aFill = plot option (NO_FILL, FILLED_SHAPE, FILLED_WITH_BG_BODYCOLOR) - * @param aWidth = Width of the line to plot. + * param aCornerList = buffer of corners coordinates + * param aFill = plot option (NO_FILL, FILLED_SHAPE, FILLED_WITH_BG_BODYCOLOR) + * param aWidth = Width of the line to plot. */ void GERBER_PLOTTER::PlotPoly( std::vector< wxPoint >& aCornerList, FILL_T aFill, int aWidth ) { diff --git a/common/dialog_about/AboutDialog_main.cpp b/common/dialog_about/AboutDialog_main.cpp index c797fc905c..a807a987f2 100644 --- a/common/dialog_about/AboutDialog_main.cpp +++ b/common/dialog_about/AboutDialog_main.cpp @@ -252,7 +252,7 @@ static void InitKiCadAboutNew( AboutAppInfo& info ) info.AddTranslator( new Contributor( wxT( "Kenta Yonekura" ), wxT( "midpika@hotmail.com" ), wxT( "Japanese (JA)" ), new wxBitmap( lang_jp_xpm ) ) ); - info.AddTranslator( new Contributor( wxT( "Manolis Stefanis and Milonas Kostas" ), + info.AddTranslator( new Contributor( wxT( "Manolis Stefanis, Athanasios Vlastos and Milonas Kostas" ), wxT( "milonas.ko@gmail.com" ), wxT( "Greek (el_GR)" ), new wxBitmap( lang_gr_xpm ) ) ); info.AddTranslator( new Contributor( wxT( "Massimo Cioce" ), diff --git a/pcbnew/class_edge_mod.cpp b/pcbnew/class_edge_mod.cpp index 38fcfce51a..f60eeaf6b5 100644 --- a/pcbnew/class_edge_mod.cpp +++ b/pcbnew/class_edge_mod.cpp @@ -250,7 +250,7 @@ void EDGE_MODULE::Draw( EDA_DRAW_PANEL* panel, wxDC* DC, int draw_mode, const wx // We must compute true coordinates from m_PolyPoints // which are relative to module position, orientation 0 - std::vector points = m_PolyPoints; + std::vector points = m_PolyPoints; for( unsigned ii = 0; ii < points.size(); ii++ ) { diff --git a/pcbnew/plot_rtn.cpp b/pcbnew/plot_rtn.cpp index c0eea4fde2..7a3b7dceca 100644 --- a/pcbnew/plot_rtn.cpp +++ b/pcbnew/plot_rtn.cpp @@ -444,7 +444,7 @@ void Plot_1_EdgeModule( PLOTTER* plotter, EDGE_MODULE* PtEdge, for( unsigned ii = 0; ii < PtEdge->m_PolyPoints.size(); ii++ ) { - wxPoint corner = PtEdge->m_PolyPoints[0]; + wxPoint corner = PtEdge->m_PolyPoints[ii]; if( Module ) { @@ -452,8 +452,6 @@ void Plot_1_EdgeModule( PLOTTER* plotter, EDGE_MODULE* PtEdge, corner += Module->m_Pos; } - corner += PtEdge->m_Start0; - cornerList.push_back( corner ); }