From 9e8c63dfa6cfaf5307ba1a2cb7906ce39e2f13ad Mon Sep 17 00:00:00 2001 From: Josh Wilson Date: Thu, 17 Nov 2005 00:35:16 +0000 Subject: [PATCH] Changed default size_from_texels argument to False. --- panda/src/particlesystem/spriteParticleRenderer.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/panda/src/particlesystem/spriteParticleRenderer.h b/panda/src/particlesystem/spriteParticleRenderer.h index 7869e44bc7..1c94786bb5 100644 --- a/panda/src/particlesystem/spriteParticleRenderer.h +++ b/panda/src/particlesystem/spriteParticleRenderer.h @@ -170,10 +170,10 @@ PUBLISHED: virtual BaseParticleRenderer *make_copy(); - void set_from_node(const NodePath &node_path, bool size_from_texels = true); - void set_from_node(const NodePath &node_path, const string &model, const string &node, bool size_from_texels = true); - void add_from_node(const NodePath &node_path, bool size_from_texels = true, bool resize = false); - void add_from_node(const NodePath &node_path, const string &model, const string &node, bool size_from_texels = true, bool resize = false); + void set_from_node(const NodePath &node_path, bool size_from_texels = false); + void set_from_node(const NodePath &node_path, const string &model, const string &node, bool size_from_texels = false); + void add_from_node(const NodePath &node_path, bool size_from_texels = false, bool resize = false); + void add_from_node(const NodePath &node_path, const string &model, const string &node, bool size_from_texels = false, bool resize = false); INLINE void set_texture(Texture *tex, float texels_per_unit = 1.0f); INLINE void set_texture(Texture *tex, const string &tex_path, float texels_per_unit = 1.0f);