Skip to content

Commit b06e020

Browse files
committed
fix direction set counting
1 parent 9efd6dd commit b06e020

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dynadjust/dynadjust/dnaimport/dnaparser_pimpl.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ void Directions_pimpl::post_Directions(const UINT32& total)
181181
if (_dnaDirection->NotIgnored())
182182
{
183183
_parent_dnaDirectionSet->AddDirection(_dnaDirection.get());
184+
g_parsemsr_tally.D++;
184185
return;
185186
}
186187

@@ -251,7 +252,7 @@ void DnaMeasurement_pimpl::Type(const ::std::string& Type)
251252
_dnaCurrentMsr.reset(new CDnaDistance);
252253
break;
253254
case 'D': // Direction set
254-
g_parsemsr_tally.D++;
255+
//g_parsemsr_tally.D++; See post_Directions()
255256
_dnaCurrentMsr.reset(new CDnaDirectionSet(++(*(_pclusterID))));
256257
break;
257258
case 'E': // Ellipsoid arc

0 commit comments

Comments
 (0)