Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 20, 2006, 10:08:58 AM (18 years ago)
Author:
bensch
Message:

load_params: caputring is now to be enabled for performance reasons

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/util/loading/load_param.cc

    r9777 r9779  
    4747{
    4848  PRINTF(5)("Describing Class '%s'(id:%d) Parameter '%s': description '%s'\n",
    49   classID.name().c_str(), classID.id(), paramName.c_str(), descriptionText.c_str());
     49            classID.name().c_str(), classID.id(), paramName.c_str(), descriptionText.c_str());
    5050
    51   LoadParamClassDescription::describeClass(classID, paramName, descriptionText);
     51  if (LoadParamClassDescription::descriptionsCaptured())
     52    LoadParamClassDescription::describeClass(classID, paramName, descriptionText);
    5253}
    5354
     
    5758void LoadParamBase::setDescriptionValues(const ClassID& classID, unsigned int paramCount, const MultiType* const defaultValues, bool retVal)
    5859{
    59   if(LoadParamClassDescription::createsDescriptions())
     60  if(LoadParamClassDescription::descriptionsCaptured())
    6061    LoadParamClassDescription::setValuesOf(classID, paramName, paramCount, defaultValues, retVal);
    6162}
Note: See TracChangeset for help on using the changeset viewer.