|
V44B\TUTORSTEP\MEASGUESSTUTORSTEP.CPP
#include "hit_basi.h"
// Also clear the parent feature since this is used by
// CHitTrackerParameters - PR253855 TJ 3/18/08
((CPCDbasic_hit *)loop)->m_pParentFeature = NULL;
comment:
<< Troy Johnson -- 03/18/08 13:32:24>>
I have fixed this. If the guess routine guessed a scan, we were setting m_pParentFeature to the scan object. However, if we then guess another feature we weren't setting this to NULL. In the CHitTrackerParemeters::create_text we check this value to see if we are in a scan. Since the scan was deleted this value was garbage. I reset this along with some other parameters in CMeasGuessTutorStep::CreateStepCommand().
Files Uploaded:
V43R\TUTORSTEP\MEASGUESSTUTORSTEP.CPP
V43B\TUTORSTEP\MEASGUESSTUTORSTEP.CPP
V44B\TUTORSTEP\MEASGUESSTUTORSTEP.CPP
<<END>> |
|