Now, we can use SetPreCADOptionValue( 'tags', 'ignore' ) in TUI and in GUI.
}
i = 0;
while (preCADcharOptionNames[i][0]) {
- _preCADdoubleOptions.insert(preCADcharOptionNames[i]);
- _preCADoption2value[preCADdoubleOptionNames[i++]].clear();
+ _preCADcharOptions.insert(preCADcharOptionNames[i]);
+ _preCADoption2value[preCADcharOptionNames[i++]].clear();
}
std::string typeName;
if (i == 0) {
// empty string
+ } else if (_preCADcharOptions.find(optionName) != _preCADcharOptions.end()) {
+ // do not check strings
} else if (_preCADdoubleOptions.find(optionName) != _preCADdoubleOptions.end()) {
// check if value is double
char * endPtr;