Changeset b8854f2 in tol


Ignore:
Timestamp:
May 9, 2011, 4:59:19 PM (15 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
10adcbf
Parents:
b732e6d
Message:

Fixes #1199

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@3527 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol/OIS/oisloader.cpp

    rb732e6d rb8854f2  
    14191419                     name+"' description='"+description+"')"));
    14201420            }
    1421             bool oldEnabled = BOut::Disable();
     1421            BText expr = Compact(BParser::Unparse(tree,"  ","\n"));
     1422          //bool oldEnabled = BOut::Disable();
     1423            BDat numErr0 = TOLErrorNumber();
    14221424            x = (BUserTimeSet*)GraTimeSet()->EvaluateTree(tree);
    1423             if(oldEnabled) { BOut::Enable(); }
     1425            BDat numErr1 = TOLErrorNumber();
     1426            if(numErr0<numErr1) { DESTROY(x); }
     1427          //if(oldEnabled) { BOut::Enable(); }
    14241428            if(x)
    14251429            {
    14261430              assert(s || (tree!=NULL));
    1427               if(s && (control_.oisEngine_.oisVersion_>="02.03"))
     1431              if(!x->System())
    14281432              {
    1429                 x->PutCache(h, beginCache, endCache);
     1433                if(s && (control_.oisEngine_.oisVersion_>="02.03"))
     1434                {
     1435                  x->PutCache(h, beginCache, endCache);
     1436                }
    14301437              }
    14311438              x->PutOisTree(tree);
Note: See TracChangeset for help on using the changeset viewer.