Commit 7c27fc19 authored by Claes Sjofors's avatar Claes Sjofors

Bugfix in update classes, values of attribute object wasn't converted

parent 9bd2c26f
......@@ -554,7 +554,7 @@ void wb_cdrep::convertSubClass( pwr_tCid cid, wb_merep *merep,
pwr_tStatus sts;
wb_cdrep *cdrep_source = merep->cdrep( &sts, cid);
if ( EVEN(sts)) throw wb_error(sts);
wb_cdrep *cdrep_target = m_orep->vrep()->merep()->cdrep( &sts, cid);
wb_cdrep *cdrep_target = m_merep->cdrep( &sts, cid);
if ( EVEN(sts)) return;
pwr_eBix bix = pwr_eBix_rt;
......
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