Commit 2df18cf5 authored by Claes Sjofors's avatar Claes Sjofors

Wb command 'set parameter' works for attributes of type DisableAttr

parent cf62149e
...@@ -5093,7 +5093,8 @@ static int utl_set_parameter(pwr_sAttrRef* arp, ldh_tSesContext ldhses, ...@@ -5093,7 +5093,8 @@ static int utl_set_parameter(pwr_sAttrRef* arp, ldh_tSesContext ldhses,
case pwr_eType_TypeId: case pwr_eType_TypeId:
case pwr_eType_CastId: case pwr_eType_CastId:
case pwr_eType_VolumeId: case pwr_eType_VolumeId:
case pwr_eType_ObjectIx: { case pwr_eType_ObjectIx:
case pwr_eType_DisableAttr: {
p_UInt32 = (pwr_tUInt32*)object_element; p_UInt32 = (pwr_tUInt32*)object_element;
sprintf(logstrptr + strlen(logstr), "( %u ) ", *p_UInt32); sprintf(logstrptr + strlen(logstr), "( %u ) ", *p_UInt32);
sscanf(valuestr, "%d", p_UInt32); sscanf(valuestr, "%d", p_UInt32);
......
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