Commit f6656e03 authored by charras's avatar charras
Browse files

fixed eeschema crash when using the hotkey m (move) command.

Pcbnew :added option to show/hide footprints values and/or references
parent 3962e443
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -4,6 +4,12 @@ KiCad ChangeLog 2010
Please add newer entries at the top, list the date and your name with
email address.

2010-Jan-28 UPDATE Jean-Pierre Charras <jean-pierre.charras@gipsa-lab.inpg.fr>
================================================================================
 *fixed eeschema crash when using the hotkey m (move) command.
* Pcbnew :added option to show/hide footprints values and/or references
  See if show/hide footprints texts option is now always useful.

2010-Jan-27 UPDATE Jean-Pierre Charras <jean-pierre.charras@gipsa-lab.inpg.fr>
================================================================================
++ Pcbnew:
+0 −1
Original line number Diff line number Diff line
@@ -83,7 +83,6 @@ set(PCB_COMMON_SRCS
    ../pcbnew/classpcb.cpp
    ../pcbnew/collectors.cpp
    ../pcbnew/sel_layer.cpp
    ../pcbnew/tracemod.cpp
)

add_library(pcbcommon ${PCB_COMMON_SRCS})
+0 −4
Original line number Diff line number Diff line
@@ -5,10 +5,6 @@
/* Set up color Layers for EESchema
 */

#if defined(__GNUG__) && !defined(__APPLE__)
#pragma implementation "eelayer.h"
#endif

#include "fctsys.h"
#include "gr_basic.h"
#include "common.h"
+0 −4
Original line number Diff line number Diff line
@@ -5,10 +5,6 @@
#ifndef _EELAYER_H_
#define _EELAYER_H_

#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "eelayer.cpp"
#endif

#include "wx/statline.h"

class wxBoxSizer;
+3 −3
Original line number Diff line number Diff line
@@ -468,6 +468,8 @@ void WinEDA_SchematicFrame::OnHotKey( wxDC* DC, int hotkey,
                break;
            if( DrawStruct->Type() == TYPE_SCH_COMPONENT )
                DrawStruct = LocateSmallestComponent( GetScreen() );
            if( DrawStruct == NULL )
                break;
            if( DrawStruct->Type() == DRAW_SHEET_STRUCT_TYPE ){
            	// If it's a sheet, then check if a pinsheet is under the cursor
            	SCH_SHEET_PIN* slabel = LocateSheetLabel( (SCH_SHEET*) DrawStruct,
@@ -477,10 +479,8 @@ void WinEDA_SchematicFrame::OnHotKey( wxDC* DC, int hotkey,
            }
            if (DrawStruct->Type() == DRAW_JUNCTION_STRUCT_TYPE){
            	// If it's a junction, pick the underlying wire instead
            	DrawStruct = PickStruct( GetScreen()->m_Curseur,
            	                                     GetScreen(), WIREITEM);
            	DrawStruct = PickStruct( GetScreen()->m_Curseur, GetScreen(), WIREITEM);
            }

            if( DrawStruct == NULL )
                break;
        }
Loading