shots no longer None if they are deleted, but flag = 0

This commit is contained in:
Marcel Paffrath 2015-10-07 14:51:00 +02:00
parent cfbcc9d362
commit 09f0cd3e71

View File

@ -160,7 +160,7 @@ class regions(object):
def highlightPicksForShot(self, shot, annotations = False): def highlightPicksForShot(self, shot, annotations = False):
for traceID in shot.getTraceIDlist(): for traceID in shot.getTraceIDlist():
if shot.getPick(traceID) is not None: if shot.getFlag(traceID) is not 0:
self.highlightPick(shot, traceID, annotations) self.highlightPick(shot, traceID, annotations)
self.refreshFigure() self.refreshFigure()