mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -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()) {
|
||||
if (object != (TypedWritable *)NULL) {
|
||||
ReferenceCount *ref_ptr = object->as_reference_count();
|
||||
if (ref_ptr != NULL) {
|
||||
ref_ptr->ref();
|
||||
}
|
||||
objects.push_back(object);
|
||||
}
|
||||
object = bam_file.read_object();
|
||||
|
Loading…
x
Reference in New Issue
Block a user