diff --git a/pcbnew/class_dimension.cpp b/pcbnew/class_dimension.cpp index 2e9e2d4b86..eb5e5ad1d2 100644 --- a/pcbnew/class_dimension.cpp +++ b/pcbnew/class_dimension.cpp @@ -4,7 +4,7 @@ * Copyright (C) 2012 Jean-Pierre Charras, jean-pierre.charras@ujf-grenoble.fr * Copyright (C) 2012 SoftPLC Corporation, Dick Hollenbeck * Copyright (C) 2012 Wayne Stambaugh - * Copyright (C) 1992-2012 KiCad Developers, see AUTHORS.txt for contributors. + * Copyright (C) 1992-2020 KiCad Developers, see AUTHORS.txt for contributors. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -685,7 +685,7 @@ void LEADER::updateGeometry() { switch( m_textFrame ) { - case DIM_TEXT_FRAME::RECT: + case DIM_TEXT_FRAME::RECTANGLE: { for( SHAPE_POLY_SET::SEGMENT_ITERATOR seg = polyBox.IterateSegments(); seg; seg++ ) m_shapes.emplace_back( new SHAPE_SEGMENT( *seg ) ); diff --git a/pcbnew/class_dimension.h b/pcbnew/class_dimension.h index aa94649086..27e8634260 100644 --- a/pcbnew/class_dimension.h +++ b/pcbnew/class_dimension.h @@ -2,7 +2,7 @@ * This program source code file is part of KiCad, a free EDA CAD application. * * Copyright (C) 2004 Jean-Pierre Charras, jaen-pierre.charras@gipsa-lab.inpg.com - * Copyright (C) 1992-2017 KiCad Developers, see AUTHORS.txt for contributors. + * Copyright (C) 1992-2020 KiCad Developers, see AUTHORS.txt for contributors. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -74,7 +74,7 @@ enum class DIM_UNITS_MODE enum class DIM_TEXT_FRAME { NONE, - RECT, + RECTANGLE, CIRCLE, ROUNDRECT };