Subversion Repositories public iLand

Rev

Rev 1011 | Rev 1104 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1011 Rev 1064
Line 135... Line 135...
135
        // ******** setup of Climate *******
135
        // ******** setup of Climate *******
136
        if ((index = mKeys.indexOf(climateKey))>-1) {
136
        if ((index = mKeys.indexOf(climateKey))>-1) {
137
            DebugTimer t("environment:load climate");
137
            DebugTimer t("environment:load climate");
138
            QStringList climateNames = mInfile->column(index);
138
            QStringList climateNames = mInfile->column(index);
139
            climateNames.removeDuplicates();
139
            climateNames.removeDuplicates();
140
            qDebug() << "creating climatae: " << climateNames;
-
 
-
 
140
            if (logLevelDebug())
-
 
141
                qDebug() << "creating climatae: " << climateNames;
-
 
142
            qDebug() << "Environment: climate: # of climates in environment file:" << climateNames.count();
141
            foreach (QString name, climateNames) {
143
            foreach (QString name, climateNames) {
142
                // create an entry in the list of created objects, but
144
                // create an entry in the list of created objects, but
143
                // really create the climate only if required (see setPosition() )
145
                // really create the climate only if required (see setPosition() )
144
                mCreatedObjects[name]=(void*)0;
146
                mCreatedObjects[name]=(void*)0;
145
                xml.setNodeValue(climateKey,name); // set xml value
147
                xml.setNodeValue(climateKey,name); // set xml value