show snapped coordinates for dump boxes (if enabled)

pull/1/head
Thorsten Liebig 2011-07-22 09:55:05 +02:00
parent c7d24d08f1
commit 3dcc218b09
1 changed files with 2 additions and 0 deletions

View File

@ -436,6 +436,8 @@ bool openEMS::SetupProcessing()
ProcField->SetName(db->GetName()); ProcField->SetName(db->GetName());
ProcField->SetFileName(db->GetName()); ProcField->SetFileName(db->GetName());
ProcField->DefineStartStopCoord(start,stop); ProcField->DefineStartStopCoord(start,stop);
if (g_settings.showProbeDiscretization())
ProcField->ShowSnappedCoords();
PA->AddProcessing(ProcField); PA->AddProcessing(ProcField);
prim->SetPrimitiveUsed(true); prim->SetPrimitiveUsed(true);
} }