* fixed a dumb bug that prevented layer switching when over a track. doh!

This commit is contained in:
lifekidyeaa 2007-06-12 15:42:10 +00:00
parent c094566ea6
commit 3c7846db7a
2 changed files with 4 additions and 4 deletions

View File

@ -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();
}

View File

@ -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