Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 5, 2008, 7:38:28 PM (17 years ago)
Author:
landauf
Message:

hopefully fixed the bug in XMLPort and Converter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core/src/orxonox/core/XMLPort.h

    r853 r854  
    108108                if (loading)
    109109                {
    110 std::cout << "3_1: load param " << this->paramname_ << std::endl;
    111110                    std::string attribute = xmlelement.GetAttribute(this->paramname_);
    112 std::cout << "3_2: attribute " << attribute << std::endl;
    113111                    if (attribute.size() > 0)
    114112                    {
    115113                        SubString tokens(attribute, ",", SubString::WhiteSpaces, false, '\\', '"', '(', ')', '\0');
    116 std::cout << "3_3: tokens: " << tokens.size() << " params: " << this->loadfunction_->getParamCount() << std::endl;
    117114                        if ((unsigned int)tokens.size() >= (unsigned int)this->loadfunction_->getParamCount())
    118115                        {
    119116                            if (this->loadfunction_->getParamCount() == 1)
    120117                            {
    121 std::cout << "3_4 start: load with whole attribute as input" << std::endl;
    122118                                (*this->loadfunction_)(object, MultiTypeMath(attribute));
    123 std::cout << "3_5 end" << std::endl;
    124119                            }
    125120                            else
    126121                            {
    127 std::cout << "3_4: load with tokens as input" << std::endl;
    128122                                MultiTypeMath param1, param2, param3, param4, param5;
    129123                                if (tokens.size() >= 1) param1 = tokens[0];
Note: See TracChangeset for help on using the changeset viewer.