[Bf-blender-cvs] [1fd54204b0a] master: Enable commented out code.

Jeroen Bakker noreply at git.blender.org
Thu Jan 26 15:18:35 CET 2023


Commit: 1fd54204b0a1439ef21719d6bfd4efb84e08d27c
Author: Jeroen Bakker
Date:   Thu Jan 26 15:17:37 2023 +0100
Branches: master
https://developer.blender.org/rB1fd54204b0a1439ef21719d6bfd4efb84e08d27c

Enable commented out code.

Code was disabled for debugging purposes.

===================================================================

M	source/blender/imbuf/intern/transform.cc

===================================================================

diff --git a/source/blender/imbuf/intern/transform.cc b/source/blender/imbuf/intern/transform.cc
index fc4d1c3a9e3..198d04cc5f6 100644
--- a/source/blender/imbuf/intern/transform.cc
+++ b/source/blender/imbuf/intern/transform.cc
@@ -526,12 +526,12 @@ class ScanlineProcessor {
    */
   void process(const TransformUserData *user_data, int scanline)
   {
-    // if (user_data->subsampling.num > 1) {
-    process_with_subsampling(user_data, scanline);
-    // }
-    // else {
-    //   process_one_sample_per_pixel(user_data, scanline);
-    // }
+    if (user_data->subsampling.num > 1) {
+      process_with_subsampling(user_data, scanline);
+    }
+    else {
+      process_one_sample_per_pixel(user_data, scanline);
+    }
   }
 
  private:



More information about the Bf-blender-cvs mailing list