File tree Expand file tree Collapse file tree 4 files changed +17
-7
lines changed Expand file tree Collapse file tree 4 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 4545#define OFFICIAL_VERSION_STRING "3.7.1"
4646#define OFFICIAL_VERSION_NUMBER 371
4747
48- #define POV_RAY_PRERELEASE "alpha.8697421 "
48+ #define POV_RAY_PRERELEASE "alpha.8698543 "
4949
5050#if (POV_RAY_IS_AUTOBUILD == 1 ) && ((POV_RAY_IS_OFFICIAL == 1 ) || (POV_RAY_IS_SEMI_OFFICIAL == 1 ))
5151#ifdef POV_RAY_PRERELEASE
Original file line number Diff line number Diff line change 5050namespace pov
5151{
5252
53+ Fog_Struct::Fog_Struct () :
54+ Turb (NULL ),
55+ Next (NULL )
56+ {}
57+
58+ Fog_Struct::~Fog_Struct ()
59+ {
60+ if (Turb) delete Turb;
61+ }
62+
5363/* ****************************************************************************
5464*
5565* FUNCTION
@@ -454,9 +464,9 @@ void Destroy_Skysphere(SKYSPHERE *Skysphere)
454464
455465Skysphere_Struct::~Skysphere_Struct ()
456466{
457- for (vector<PIGMENT*>::iterator i = Pigments.begin (); i != Pigments.end (); ++ i)
458- delete *i;
459- Destroy_Transform (Trans);
467+ for (vector<PIGMENT*>::iterator i = Pigments.begin (); i != Pigments.end (); ++ i)
468+ delete *i;
469+ Destroy_Transform (Trans);
460470}
461471
462472
Original file line number Diff line number Diff line change @@ -66,8 +66,8 @@ struct TurbulenceWarp; // full declaration in core/material/warp.h
6666
6767struct Fog_Struct
6868{
69- Fog_Struct () : Turb( NULL ), Next( NULL ) {}
70- ~Fog_Struct () { if (Turb) POV_FREE (Turb); }
69+ Fog_Struct ();
70+ ~Fog_Struct ();
7171 int Type;
7272 DBL Distance;
7373 DBL Alt;
Original file line number Diff line number Diff line change 1- 3.7.1-alpha.8697421
1+ 3.7.1-alpha.8698543
You can’t perform that action at this time.
0 commit comments