Fix crash when enabling undistorted display in MCE
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 17 Apr 2014 12:01:45 +0000 (18:01 +0600)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 17 Apr 2014 12:01:45 +0000 (18:01 +0600)
extern/libmv/ChangeLog
extern/libmv/libmv/simple_pipeline/camera_intrinsics_impl.h

index af18b02a4db12c343f8bb2cfa1b35da1707572c2..12891d03ff98702fa5baa38f9fa9cee4169ead98 100644 (file)
@@ -1,3 +1,13 @@
+commit e1fe41b6604771ba769a9b15eb2f489fbf7af251
+Author: Sergey Sharybin <sergey.vfx@gmail.com>
+Date:   Thu Apr 17 17:52:23 2014 +0600
+
+    Fix offset array not being properly allocated
+    
+    We really do need unit test for buffer (un)distortion,
+    didn't notice this bug for until new Libmv has been
+    integrated into Blender.
+
 commit ee21415a353396df67ef21e82adaffab2a8d2a0a
 Author: Sergey Sharybin <sergey.vfx@gmail.com>
 Date:   Thu Apr 17 16:26:12 2014 +0600
@@ -660,17 +670,3 @@ Author: Sergey Sharybin <sergey.vfx@gmail.com>
 Date:   Mon May 13 04:22:05 2013 +0600
 
     Minor code style cleanup.
-
-commit ad3dbaaef10ea721230694311a359df152c7a44a
-Author: Sergey Sharybin <sergey.vfx@gmail.com>
-Date:   Sun May 12 22:34:54 2013 +0600
-
-    Cleanup in simple pipeline's bundler
-    
-    - Better match Google's code style conventions.
-    - Move evaluation part into own function, makes
-      bundling itself easier to follow.
-    - Made evaluation an optional parameter.
-    - Removed note about unsupported camera intrinsics
-      refining flags. Technically, all combinations
-      are possible.
index 66264bdbd93b658f5059b0b5302ed73e56304fed..97abee7ab0137cf54e7e36fe5750fbfd63126ba1 100644 (file)
@@ -105,7 +105,7 @@ void LookupWarpGrid::Update(const CameraIntrinsics &intrinsics,
   }
 
   if (offset_ == NULL) {
-    offset_ = new Offset[width_ * height_];
+    offset_ = new Offset[width * height];
     Compute<WarpFunction>(intrinsics,
                           width,
                           height,