mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
fix crash
This commit is contained in:
parent
8ddc7227ab
commit
9b23f1a89c
@ -109,6 +109,7 @@ munge_format_impl(const qpGeomVertexFormat *orig,
|
||||
|
||||
// Now copy all of the texture coordinates in, in order by stage
|
||||
// index. But we have to reuse previous columns.
|
||||
if (_texture != (TextureAttrib *)NULL) {
|
||||
typedef pset<const InternalName *> UsedStages;
|
||||
UsedStages used_stages;
|
||||
|
||||
@ -132,6 +133,7 @@ munge_format_impl(const qpGeomVertexFormat *orig,
|
||||
new_format->remove_column(name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (new_array_format->is_data_subset_of(*orig->get_array(0))) {
|
||||
// If the new array format we have built is essentially the same
|
||||
|
Loading…
x
Reference in New Issue
Block a user