fix backwards logic

This commit is contained in:
David Rose 2007-10-02 18:26:04 +00:00
parent e5ba27a6a7
commit 00c57128bb

View File

@ -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);
}