From 38bc4fdb1e1307f81e1e01d62f0712657a34bcc8 Mon Sep 17 00:00:00 2001 From: David Rose Date: Mon, 25 Jun 2001 23:56:59 +0000 Subject: [PATCH] use wrt() now that it's exported properly --- .../src/particlesystem/spriteParticleRenderer.cxx | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/panda/src/particlesystem/spriteParticleRenderer.cxx b/panda/src/particlesystem/spriteParticleRenderer.cxx index a2fb0f9843..6d6fd09d94 100644 --- a/panda/src/particlesystem/spriteParticleRenderer.cxx +++ b/panda/src/particlesystem/spriteParticleRenderer.cxx @@ -120,7 +120,6 @@ set_from_node(const NodePath &node_path) { // just the bottom arc. Texture *tex = (Texture *)NULL; - /* NodeTransitionWrapper ntw(TextureTransition::get_class_type()); wrt(gnode, geom_node_path.begin(), geom_node_path.end(), (Node *)NULL, ntw, RenderRelation::get_class_type()); @@ -130,19 +129,6 @@ set_from_node(const NodePath &node_path) { tex = tt->get_texture(); } } - */ - // Shoot, wrt() doesn't work across DLL's. Just walk through the - // arcs. - NodePath::iterator npi; - for (npi = geom_node_path.begin(); npi != geom_node_path.end(); ++npi) { - NodeRelation *arc = (*npi); - const TextureTransition *tt; - if (get_transition_into(tt, arc)) { - if (tt->is_on()) { - tex = tt->get_texture(); - } - } - } if (tex == (Texture *)NULL) { particlesystem_cat.error()