[Bf-blender-cvs] [dfac5a63bd1] master: Cleanup: remove unused value

Campbell Barton noreply at git.blender.org
Mon Jun 7 16:10:02 CEST 2021


Commit: dfac5a63bd1327e7748758267c51815e0ee28607
Author: Campbell Barton
Date:   Tue Jun 8 00:08:15 2021 +1000
Branches: master
https://developer.blender.org/rBdfac5a63bd1327e7748758267c51815e0ee28607

Cleanup: remove unused value

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

M	source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c

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

diff --git a/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c b/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c
index 59ac809eb4f..82ca1131cc1 100644
--- a/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c
+++ b/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c
@@ -52,8 +52,6 @@
 #include "DNA_scene_types.h"
 #include "MEM_guardedalloc.h"
 
-#include "PIL_time.h"
-
 #include "bmesh.h"
 #include "bmesh_class.h"
 #include "bmesh_tools.h"
@@ -1862,12 +1860,6 @@ static void lineart_main_load_geometries(
     lineart_matrix_ortho_44d(proj, -w, w, -w / asp, w / asp, cam->clip_start, cam->clip_end);
   }
 
-  double t_start;
-
-  if (G.debug_value == 4000) {
-    t_start = PIL_check_seconds_timer();
-  }
-
   invert_m4_m4(inv, rb->cam_obmat);
   mul_m4db_m4db_m4fl_uniq(result, proj, inv);
   copy_m4_m4_db(proj, result);



More information about the Bf-blender-cvs mailing list