Eeschema:
* fix incorrect bounding box size calculation of schematic components. * fix incorrect bounding box position and size used when schematic components are not found in lib (dummy lib componen used). Pcbnew: * Fix issues in block selection for arcs in modedit. Minor code cleaning. CopyToClipboard: fix incorrect call to PrintPage (bad parameters)
This commit is contained in:
@@ -667,14 +667,7 @@ int MarkItemsInBloc( MODULE* module, EDA_Rect& Rect )
|
||||
switch( item->Type() )
|
||||
{
|
||||
case TYPE_EDGE_MODULE:
|
||||
pos = ( (EDGE_MODULE*) item )->m_Start;
|
||||
if( Rect.Contains( pos ) )
|
||||
{
|
||||
item->m_Selected = IS_SELECTED;
|
||||
ItemsCount++;
|
||||
}
|
||||
pos = ( (EDGE_MODULE*) item )->m_End;
|
||||
if( Rect.Contains( pos ) )
|
||||
if( ((EDGE_MODULE*)item )->HitTest( Rect ) )
|
||||
{
|
||||
item->m_Selected = IS_SELECTED;
|
||||
ItemsCount++;
|
||||
|
||||
Reference in New Issue
Block a user