Selaa lähdekoodia

Added source type

Mark Mine 22 vuotta sitten
vanhempi
sitoutus
d588d7f477
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  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_y_ratio(false),
   _animate_theta(false),
   _animate_theta(false),
   _blend_method(PP_BLEND_LINEAR),
   _blend_method(PP_BLEND_LINEAR),
-  _pool_size(0)
+  _pool_size(0),
+  _source_type(ST_texture)
 {
 {
   _sprite_primitive = new GeomSprite(tex);
   _sprite_primitive = new GeomSprite(tex);
   init_geoms();
   init_geoms();