Commit 07de2e4e authored by claes's avatar claes

Only first subclass was found in a volume

parent 51554e1f
...@@ -572,6 +572,8 @@ static int compCatt( tree_sTable *tp, tree_sNode *x, tree_sNode *y) ...@@ -572,6 +572,8 @@ static int compCatt( tree_sTable *tp, tree_sNode *x, tree_sNode *y)
void wb_merep::subClass( pwr_tCid supercid, pwr_tCid subcid, pwr_tCid *nextsubcid, void wb_merep::subClass( pwr_tCid supercid, pwr_tCid subcid, pwr_tCid *nextsubcid,
pwr_tStatus *sts) pwr_tStatus *sts)
{ {
bool prev_found = false;
// Loop through all $ClassDef objects // Loop through all $ClassDef objects
for ( mvrep_iterator it = m_mvrepdbs.begin(); for ( mvrep_iterator it = m_mvrepdbs.begin();
it != m_mvrepdbs.end(); it != m_mvrepdbs.end();
...@@ -580,7 +582,6 @@ void wb_merep::subClass( pwr_tCid supercid, pwr_tCid subcid, pwr_tCid *nextsubci ...@@ -580,7 +582,6 @@ void wb_merep::subClass( pwr_tCid supercid, pwr_tCid subcid, pwr_tCid *nextsubci
wb_orep *o, *onext; wb_orep *o, *onext;
wb_adrep *ad; wb_adrep *ad;
pwr_tCid cid; pwr_tCid cid;
bool prev_found = false;
for ( o = vrep->object( sts, pwr_eClass_ClassDef); for ( o = vrep->object( sts, pwr_eClass_ClassDef);
ODD(*sts); ODD(*sts);
......
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