[Bf-blender-cvs] [b35611632ff] lanpr-under-gp: LineArt: Remove duplicated canceling

YimingWu noreply at git.blender.org
Wed Oct 21 06:42:01 CEST 2020


Commit: b35611632ffee736046978c63a3c69bc8f0eb365
Author: YimingWu
Date:   Wed Oct 21 12:20:22 2020 +0800
Branches: lanpr-under-gp
https://developer.blender.org/rBb35611632ffee736046978c63a3c69bc8f0eb365

LineArt: Remove duplicated canceling

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

M	source/blender/editors/lineart/lineart_cpu.c

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

diff --git a/source/blender/editors/lineart/lineart_cpu.c b/source/blender/editors/lineart/lineart_cpu.c
index 4223cd45d34..226a748e662 100644
--- a/source/blender/editors/lineart/lineart_cpu.c
+++ b/source/blender/editors/lineart/lineart_cpu.c
@@ -3905,11 +3905,6 @@ int ED_lineart_compute_feature_lines_internal(Depsgraph *depsgraph, const int sh
   LRT_CANCEL_STAGE
   LRT_PROGRESS(10, "LRT: Contour lines.");
 
-  if (ED_lineart_calculation_flag_check(LRT_RENDER_CANCELING)) {
-    LRT_PROGRESS(100, "LRT: Finished.");
-    return OPERATOR_FINISHED;
-  }
-
   if (!intersections_only) {
     lineart_main_compute_scene_contours(rb);
   }



More information about the Bf-blender-cvs mailing list