mirror of
https://git.mirrors.martin98.com/https://github.com/google/draco
synced 2025-08-12 03:39:06 +08:00
increase sub id by 1
This commit is contained in:
parent
b8f8aea97e
commit
b4421050dd
@ -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