From 00c57128bb352ef08f8404a3f1cbb403193e6d19 Mon Sep 17 00:00:00 2001 From: David Rose Date: Tue, 2 Oct 2007 18:26:04 +0000 Subject: [PATCH] fix backwards logic --- panda/src/particlesystem/spriteParticleRenderer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/particlesystem/spriteParticleRenderer.cxx b/panda/src/particlesystem/spriteParticleRenderer.cxx index e38167ba79..a8355c4f8c 100644 --- a/panda/src/particlesystem/spriteParticleRenderer.cxx +++ b/panda/src/particlesystem/spriteParticleRenderer.cxx @@ -243,9 +243,9 @@ set_from_node(const NodePath &node_path, const string &model, const string &node //////////////////////////////////////////////////////////////////// void SpriteParticleRenderer:: set_from_node(const NodePath &node_path, bool size_from_texels) { + nassertv(!node_path.is_empty()); // Clear all texture information _anims.clear(); - nassertv(node_path.is_empty()); add_from_node(node_path,size_from_texels,true); }