mirror of
https://git.mirrors.martin98.com/https://github.com/google/draco
synced 2025-08-12 17:39:07 +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_;
|
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