mirror of
https://git.mirrors.martin98.com/https://github.com/google/draco
synced 2025-08-12 21:29:00 +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_;
|
obj_name_to_id_[obj_name] = num_sub_objects_;
|
||||||
num_sub_objects_++;
|
num_sub_objects_++;
|
||||||
} else {
|
} else {
|
||||||
num_sub_objects_ = it->second;
|
num_sub_objects_ = it->second + 1;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user