Commit 4b3dd2a7 authored by Claes Sjofors's avatar Claes Sjofors

Wb classlist for attrref showed disabled objects

parent 16ecfd5a
......@@ -1198,6 +1198,14 @@ void wb_volume::nextAref(pwr_tCid cid, pwr_sAttrRef *arp,
oarp->Body = cdh_cidToBid( cid, pwr_eBix_rt);
ol->unref();
op->unref();
if (item->flags[0] & PWR_MASK_DISABLEATTR) {
wb_attribute a = attribute(oarp);
if (a.disabled()) {
pwr_sAttrRef aref = *oarp;
nextAref(cid, &aref, oarp);
}
}
return;
}
}
......@@ -1230,6 +1238,14 @@ void wb_volume::nextAref(pwr_tCid cid, pwr_sAttrRef *arp,
oarp->Size = bd_size;
oarp->Body = cdh_cidToBid( cid, pwr_eBix_rt);
op->unref();
if (item->flags[0] & PWR_MASK_DISABLEATTR) {
wb_attribute a = attribute(oarp);
if (a.disabled()) {
pwr_sAttrRef aref = *oarp;
nextAref(cid, &aref, oarp);
}
}
return;
}
}
......@@ -1247,6 +1263,15 @@ void wb_volume::nextAref(pwr_tCid cid, pwr_sAttrRef *arp,
oarp->Body = cdh_cidToBid( cid, pwr_eBix_rt);
ol->unref();
op->unref();
if (item->flags[0] & PWR_MASK_DISABLEATTR) {
wb_attribute a = attribute(oarp);
if (a.disabled()) {
pwr_sAttrRef aref = *oarp;
nextAref(cid, &aref, oarp);
}
}
return;
}
......@@ -1272,6 +1297,14 @@ void wb_volume::nextAref(pwr_tCid cid, pwr_sAttrRef *arp,
oarp->Body = cdh_cidToBid( cid, pwr_eBix_rt);
ol->unref();
op->unref();
if (item->flags[0] & PWR_MASK_DISABLEATTR) {
wb_attribute a = attribute(oarp);
if (a.disabled()) {
pwr_sAttrRef aref = *oarp;
nextAref(cid, &aref, oarp);
}
}
return;
}
}
......@@ -1401,6 +1434,7 @@ void wb_volume::nextTemplateAref(pwr_tCid cid, pwr_sAttrRef *arp,
oarp->Offset = item->offset[0];
oarp->Size = bd_size;
oarp->Body = cdh_cidToBid( cid, pwr_eBix_rt);
return;
}
}
......
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