mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
fix crash with bam version upgrade
This commit is contained in:
parent
97f805b24a
commit
61ceee2e73
@ -7234,7 +7234,10 @@ make_this_from_bam(const FactoryParams ¶ms) {
|
|||||||
texture_type = TT_cube_map;
|
texture_type = TT_cube_map;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
bool has_read_mipmaps = scan.get_bool();
|
bool has_read_mipmaps = false;
|
||||||
|
if (manager->get_file_minor_ver() >= 32) {
|
||||||
|
has_read_mipmaps = scan.get_bool();
|
||||||
|
}
|
||||||
|
|
||||||
Texture *me = NULL;
|
Texture *me = NULL;
|
||||||
if (has_rawdata) {
|
if (has_rawdata) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user