* fixed a dumb bug that prevented layer switching when over a track. doh!
This commit is contained in:
parent
c094566ea6
commit
3c7846db7a
|
@ -1364,9 +1364,9 @@ void WinEDA_PcbFrame::SwitchLayer(wxDC *DC, int layer)
|
|||
GetScreen()->m_Active_Layer = preslayer;
|
||||
Other_Layer_Route( (TRACK *) GetScreen()->m_CurrentItem, DC);
|
||||
}
|
||||
}else{
|
||||
GetScreen()->m_Active_Layer = layer;
|
||||
}
|
||||
GetScreen()->m_Active_Layer = layer;
|
||||
|
||||
if ( DisplayOpt.ContrastModeDisplay )
|
||||
GetScreen()->SetRefreshReq();
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
## Makefile for PCBNEW et wxGTK
|
||||
CC = gcc
|
||||
LD = gcc
|
||||
# DEBUG = 1
|
||||
#DEBUG = 1
|
||||
|
||||
# Compiler flags.
|
||||
ifdef DEBUG
|
||||
|
@ -9,7 +9,7 @@ CPPFLAGS = -Wall -g `wx-config --cxxflags`
|
|||
LDFLAGS = -g
|
||||
else
|
||||
CPPFLAGS = -Wall -O2 `wx-config --cxxflags`
|
||||
LDFLAGS = -s -v
|
||||
LDFLAGS = -s
|
||||
endif
|
||||
|
||||
include ../libs.linux
|
||||
|
|
Loading…
Reference in New Issue