Commit a518f131 authored by claes's avatar claes

Flags for castattr and disable attr was missing when reading loadfile

parent 7d9e7877
/*
* Proview $Id: wb_vrepwbl.cpp,v 1.47 2005-11-15 15:43:29 claes Exp $
* Proview $Id: wb_vrepwbl.cpp,v 1.48 2005-12-23 08:51:57 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -1198,6 +1198,10 @@ int wb_vrepwbl::nameToAttrRef( const char *name, pwr_sAttrRef *attrref)
if ( a_flags & pwr_mAdef_array &&
! an.hasAttrIndex(an.attributes()-1))
attrref->Flags.b.Array = 1;
if ( a_flags & pwr_mAdef_castattr)
attrref->Flags.b.CastAttr = 1;
if ( a_flags & pwr_mAdef_disableattr)
attrref->Flags.b.DisableAttr = 1;
}
return LDH__SUCCESS;
}
......
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