increase sub id by 1

This commit is contained in:
Fan Zhang 2017-08-23 12:22:32 -07:00
parent b8f8aea97e
commit b4421050dd

View File

@ -488,7 +488,7 @@ bool ObjDecoder::ParseObject(bool *error) {
obj_name_to_id_[obj_name] = num_sub_objects_;
num_sub_objects_++;
} else {
num_sub_objects_ = it->second;
num_sub_objects_ = it->second + 1;
}
return true;
}