Commit d1ac4e94 authored by claes's avatar claes

Skip sup objects in template plc

parent accc6314
...@@ -2707,6 +2707,9 @@ initSupListClass( ...@@ -2707,6 +2707,9 @@ initSupListClass(
ODD(sts); ODD(sts);
sts = gdh_GetNextObject(oid, &oid) sts = gdh_GetNextObject(oid, &oid)
) { ) {
if ( oid.vid < cdh_cUserVolMin)
continue;
sts = initSupActiveCB(oid, cid, &sp, 1, 1); sts = initSupActiveCB(oid, cid, &sp, 1, 1);
if (ODD(sts)) { if (ODD(sts)) {
sl = LstIns(sl, sp, sup_l); sl = LstIns(sl, sp, sup_l);
...@@ -3416,6 +3419,9 @@ reInitSupListClass( ...@@ -3416,6 +3419,9 @@ reInitSupListClass(
ODD(sts); ODD(sts);
sts = gdh_GetNextObject(oid, &oid) sts = gdh_GetNextObject(oid, &oid)
) { ) {
if ( oid.vid < cdh_cUserVolMin)
continue;
if ((sp = supListGet(oid)) == NULL) { if ((sp = supListGet(oid)) == NULL) {
sts = initSupActiveCB(oid, cid, &sp, 1, 1); sts = initSupActiveCB(oid, cid, &sp, 1, 1);
if (ODD(sts)) { if (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