Changeset 3375 in Sophya for trunk


Ignore:
Timestamp:
Nov 6, 2007, 10:42:54 AM (18 years ago)
Author:
ansari
Message:

traitement option nnodisp pour newmtx , Reza 06/11/2007

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/servnobjm.cc

    r3370 r3375  
    245245
    246246  MyObjMgr()->AddObj(vpy, nom);
    247 
    248247  if ( (dopt == "nodisp") || (dopt == "nodisplay") ) return;
    249248
     
    313312    }
    314313  else titre = nom;
     314
     315  MyObjMgr()->AddObj(mtx, nom);
     316  if ( (dopt == "nodisp") || (dopt == "nodisplay") ) return;
     317
    315318  int rsid = 0;
    316319  P2DArrayAdapter* arr = new POMatrixAdapter(mtx, false);
     
    321324  }
    322325  else  rsid = mImgapp->DispImage(arr, titre, dopt);
    323 
    324   if (nom.length() > 0)  {
    325     MyObjMgr()->AddObj(mtx, nom);
    326     MyObjMgr()->AddWRsId(nom, rsid);
    327     }
    328   }
     326  MyObjMgr()->AddWRsId(nom, rsid);
     327}
    329328
    330329return;
Note: See TracChangeset for help on using the changeset viewer.