mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
fix backwards logic
This commit is contained in:
parent
e5ba27a6a7
commit
00c57128bb
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user