mirror of
https://git.mirrors.martin98.com/https://github.com/google/draco
synced 2025-08-11 23:29:03 +08:00
Merge pull request #187 from google/increase_sub_id_by_1
Increase sub id by 1
This commit is contained in:
commit
b4211303fa
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user