mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
TextureStage objects need to be reference-counted in the scene graph
This commit is contained in:
parent
309e0713a5
commit
5843771931
@ -126,11 +126,11 @@ private:
|
|||||||
vector_int _ff_tc_index;
|
vector_int _ff_tc_index;
|
||||||
unsigned int _next_implicit_sort;
|
unsigned int _next_implicit_sort;
|
||||||
|
|
||||||
typedef ov_set<TextureStage *> OffStages;
|
typedef ov_set<PT(TextureStage) > OffStages;
|
||||||
OffStages _off_stages;
|
OffStages _off_stages;
|
||||||
bool _off_all_stages;
|
bool _off_all_stages;
|
||||||
|
|
||||||
typedef pmap< TextureStage *, PT(Texture) > OnTextures;
|
typedef pmap<PT(TextureStage), PT(Texture) > OnTextures;
|
||||||
OnTextures _on_textures;
|
OnTextures _on_textures;
|
||||||
|
|
||||||
typedef pmap< int, CPT(TextureAttrib) > Filtered;
|
typedef pmap< int, CPT(TextureAttrib) > Filtered;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user