From 58437719316c3924f8fe30b2bd8a58c472816dfa Mon Sep 17 00:00:00 2001 From: David Rose Date: Thu, 5 Nov 2009 01:42:16 +0000 Subject: [PATCH] TextureStage objects need to be reference-counted in the scene graph --- panda/src/pgraph/textureAttrib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/panda/src/pgraph/textureAttrib.h b/panda/src/pgraph/textureAttrib.h index 8068c194c8..9b8b8f75c8 100644 --- a/panda/src/pgraph/textureAttrib.h +++ b/panda/src/pgraph/textureAttrib.h @@ -126,11 +126,11 @@ private: vector_int _ff_tc_index; unsigned int _next_implicit_sort; - typedef ov_set OffStages; + typedef ov_set OffStages; OffStages _off_stages; bool _off_all_stages; - typedef pmap< TextureStage *, PT(Texture) > OnTextures; + typedef pmap OnTextures; OnTextures _on_textures; typedef pmap< int, CPT(TextureAttrib) > Filtered;