Changeset 2941 in Sophya


Ignore:
Timestamp:
Apr 24, 2006, 5:39:55 PM (19 years ago)
Author:
ansari
Message:

Correction decodage des options graphiques ds PIElDrawer3D et PIDraw3DWdg - en particulier axesnone , Reza 24/04/2006

Location:
trunk/SophyaPI/PI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PI/pi3ddrw.cc

    r2615 r2941  
    391391    if (opts == "title" || opts == "tit") ShowTitles(true);
    392392    else if (opts == "notitle" || opts == "notit") ShowTitles(false);
     393    else if (opts == "axesnone")   SetAxesFlags(kAxesNone);
    393394    else {
    394395      ndec--;
  • trunk/SophyaPI/PI/pi3dwdg.cc

    r2615 r2941  
    229229  bool asz = mBDrw->isAutoScaleZ();
    230230
     231  // Decodage des options par le PIElDrawer3D de base
     232  int ndec1 = mBDrw->DecodeOptionString(opt, rmdecopt);
     233
    231234  for( k=0; k<opt.size(); k++ ) {
    232235    string opts = opt[k];
     
    282285 
    283286  if (rmdecopt)  opt = udopt;
    284   return(ndec);
     287  return(ndec+ndec1);
    285288}
    286289
Note: See TracChangeset for help on using the changeset viewer.