mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
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 #179
This commit is contained in:
parent
4f50f6abd0
commit
1073f5abde
@ -825,6 +825,7 @@ complete_pointers(TypedWritable **p_list, BamReader *manager) {
|
||||
}
|
||||
}
|
||||
_on_stages.sort();
|
||||
_off_stages.sort();
|
||||
_sort_seq = UpdateSeq::old();
|
||||
_filtered_seq = UpdateSeq::old();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user