Skip to content

Commit 42f8978

Browse files
committed
pgraph: sort "off" texture stages when loading from .bam
This fixes an issue where states loaded from .bam file containing more than one "off" texture stage would not compose properly. Fixes panda3d#179
1 parent ad58d51 commit 42f8978

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

panda/src/pgraph/textureAttrib.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -911,6 +911,7 @@ complete_pointers(TypedWritable **p_list, BamReader *manager) {
911911
}
912912
}
913913
_on_stages.sort();
914+
_off_stages.sort();
914915
_sort_seq = UpdateSeq::old();
915916
_filtered_seq = UpdateSeq::old();
916917

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy