Browse Source

Added source type

Mark Mine 22 years ago
parent
commit
d588d7f477
1 changed files with 2 additions and 1 deletions
  1. 2 1
      panda/src/particlesystem/spriteParticleRenderer.cxx

+ 2 - 1
panda/src/particlesystem/spriteParticleRenderer.cxx

@@ -41,7 +41,8 @@ SpriteParticleRenderer(Texture *tex) :
   _animate_y_ratio(false),
   _animate_theta(false),
   _blend_method(PP_BLEND_LINEAR),
-  _pool_size(0)
+  _pool_size(0),
+  _source_type(ST_texture)
 {
   _sprite_primitive = new GeomSprite(tex);
   init_geoms();