Added default construction values for various member variables to fix report
uninitialized variables.
This commit is contained in:
@@ -23,6 +23,7 @@ osgParticle::ParticleSystem::ParticleSystem()
|
||||
display_list_id_(-1),
|
||||
bmin_(0, 0, 0),
|
||||
bmax_(0, 0, 0),
|
||||
reset_bounds_flag_(false),
|
||||
bounds_computed_(false),
|
||||
def_ptemp_(Particle()),
|
||||
last_frame_(0),
|
||||
@@ -43,6 +44,7 @@ osgParticle::ParticleSystem::ParticleSystem(const ParticleSystem ©, const os
|
||||
display_list_id_(-1),
|
||||
bmin_(copy.bmin_),
|
||||
bmax_(copy.bmax_),
|
||||
reset_bounds_flag_(copy.reset_bounds_flag_),
|
||||
bounds_computed_(copy.bounds_computed_),
|
||||
def_ptemp_(copy.def_ptemp_),
|
||||
last_frame_(copy.last_frame_),
|
||||
|
||||
Reference in New Issue
Block a user