[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [60360] branches/soc-2013-cycles_volume/ extern/openvdb/internal/openvdb/math/Maps.h: Fix bug in OpenVDB with an uninitialized variable in the default Transform .

Brecht Van Lommel brechtvanlommel at pandora.be
Wed Sep 25 01:24:12 CEST 2013


Revision: 60360
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60360
Author:   blendix
Date:     2013-09-24 23:24:12 +0000 (Tue, 24 Sep 2013)
Log Message:
-----------
Fix bug in OpenVDB with an uninitialized variable in the default Transform.

Modified Paths:
--------------
    branches/soc-2013-cycles_volume/extern/openvdb/internal/openvdb/math/Maps.h

Modified: branches/soc-2013-cycles_volume/extern/openvdb/internal/openvdb/math/Maps.h
===================================================================
--- branches/soc-2013-cycles_volume/extern/openvdb/internal/openvdb/math/Maps.h	2013-09-24 17:11:55 UTC (rev 60359)
+++ branches/soc-2013-cycles_volume/extern/openvdb/internal/openvdb/math/Maps.h	2013-09-24 23:24:12 UTC (rev 60360)
@@ -618,7 +618,9 @@
     typedef boost::shared_ptr<ScaleMap>       Ptr;
     typedef boost::shared_ptr<const ScaleMap> ConstPtr;
 
-    ScaleMap(): MapBase(), mScaleValues(Vec3d(1,1,1)), mVoxelSize(Vec3d(1,1,1)),
+    ScaleMap(): MapBase(), mScaleValues(Vec3d(1,1,1)),
+                mVoxelSize(Vec3d(1,1,1)),
+                mScaleValuesInverse(Vec3d(1,1,1)),
                 mInvScaleSqr(1,1,1), mInvTwiceScale(0.5,0.5,0.5){}
 
     ScaleMap(const Vec3d& scale):




More information about the Bf-blender-cvs mailing list