Commit 3c7846db authored by lifekidyeaa's avatar lifekidyeaa

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

parent c094566e
......@@ -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();
}
......
## 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment