[Bf-blender-cvs] [d4edfa1bc4c] temp-lanpr-cleanup2: LANPR: Remove unused property.

YimingWu noreply at git.blender.org
Wed Nov 13 06:28:05 CET 2019


Commit: d4edfa1bc4ce7543f080e615ae571ed4eafa43d2
Author: YimingWu
Date:   Wed Nov 13 13:27:07 2019 +0800
Branches: temp-lanpr-cleanup2
https://developer.blender.org/rBd4edfa1bc4ce7543f080e615ae571ed4eafa43d2

LANPR: Remove unused property.

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

M	source/blender/makesdna/DNA_scene_types.h
M	source/blender/makesrna/intern/rna_scene.c

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

diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h
index 9b4e264b2cc..633b79c336a 100644
--- a/source/blender/makesdna/DNA_scene_types.h
+++ b/source/blender/makesdna/DNA_scene_types.h
@@ -1699,14 +1699,10 @@ typedef struct SceneLANPR {
   float depth_alpha_curve;
 
   int gpu_cache_size; /* enum! */
-  int _pad;
-
-  int enable_chain_connection;
-
-  /* offline render */
+  
+  /* CPU mode */
   ListBase line_layers;
   struct LANPR_LineLayer *active_layer;
-
   float chaining_geometry_threshold;
   float chaining_image_threshold;
 } SceneLANPR;
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c
index 10878d0ca1b..aad7c3fc30f 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -7220,12 +7220,6 @@ static void rna_def_scene_lanpr(BlenderRNA *brna)
   RNA_def_property_boolean_default(prop, 1);
   RNA_def_property_ui_text(prop, "Enable Chaining", "Chain Feature Lines After Occlusion Test");
 
-  prop = RNA_def_property(srna, "enable_chain_connection", PROP_BOOLEAN, PROP_NONE);
-  RNA_def_property_boolean_default(prop, 1);
-  RNA_def_property_ui_text(prop,
-                           "Enable Chain Connection",
-                           "Connect short chains in the image space into one longer chain");
-
   /* should be read-only */
   prop = RNA_def_property(srna, "shader_error", PROP_BOOLEAN, PROP_NONE);
   RNA_def_property_boolean_default(prop, 0);



More information about the Bf-blender-cvs mailing list