mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
fix bam2egg
This commit is contained in:
parent
2a48505a45
commit
515635f6da
@ -123,6 +123,10 @@ run() {
|
|||||||
|
|
||||||
while (object != (TypedWritable *)NULL || !bam_file.is_eof()) {
|
while (object != (TypedWritable *)NULL || !bam_file.is_eof()) {
|
||||||
if (object != (TypedWritable *)NULL) {
|
if (object != (TypedWritable *)NULL) {
|
||||||
|
ReferenceCount *ref_ptr = object->as_reference_count();
|
||||||
|
if (ref_ptr != NULL) {
|
||||||
|
ref_ptr->ref();
|
||||||
|
}
|
||||||
objects.push_back(object);
|
objects.push_back(object);
|
||||||
}
|
}
|
||||||
object = bam_file.read_object();
|
object = bam_file.read_object();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user