From 1707b5a38de85fb0bbaa8a134010e38eba2278ca Mon Sep 17 00:00:00 2001 From: David Rose Date: Mon, 2 Aug 2004 21:34:35 +0000 Subject: [PATCH] fix pupils --- panda/src/pgraph/textureAttrib.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/panda/src/pgraph/textureAttrib.cxx b/panda/src/pgraph/textureAttrib.cxx index c5f6ce8151..47f159f973 100644 --- a/panda/src/pgraph/textureAttrib.cxx +++ b/panda/src/pgraph/textureAttrib.cxx @@ -535,7 +535,7 @@ compose_impl(const RenderAttrib *other) const { } else { // (*bi).first == (*ai).first // Here is a stage we have in both. - *result = *ai; + *result = *bi; new_attrib->_on_stages.push_back((*ai).first); ++ai; ++bi; @@ -562,7 +562,7 @@ compose_impl(const RenderAttrib *other) const { } else { // Here is a stage we have in both. - *result = *ai; + *result = *bi; new_attrib->_on_stages.push_back((*ai).first); ++ai; ++bi;