Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2022-09-29 15:58:29 +0300
committerAntonio Vazquez <blendergit@gmail.com>2022-09-29 15:58:29 +0300
commitd2e576f34c6d428fb2c2ba855a0e29a2ba132549 (patch)
treea9fa591840b8554eabfe3f69c09c59412600b85c /source/blender/makesrna/intern/rna_brush.c
parent10f1972ff78bffb5323cebb85125c64efc7b5ca8 (diff)
GPencil: Remove Fill `use_collide_only` option
After a lot of testing, this option is not required and now this is managed by stroke_collsion. If the stroke_collision is enabled, only collide strokes are used.
Diffstat (limited to 'source/blender/makesrna/intern/rna_brush.c')
-rw-r--r--source/blender/makesrna/intern/rna_brush.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source/blender/makesrna/intern/rna_brush.c b/source/blender/makesrna/intern/rna_brush.c
index 510fa8a6126..3c9590ddcbe 100644
--- a/source/blender/makesrna/intern/rna_brush.c
+++ b/source/blender/makesrna/intern/rna_brush.c
@@ -1976,13 +1976,6 @@ static void rna_def_gpencil_options(BlenderRNA *brna)
prop, "Strokes Collision", "Check if extend lines collide with strokes");
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
- prop = RNA_def_property(srna, "use_collide_only", PROP_BOOLEAN, PROP_NONE);
- RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_BRUSH_FILL_COLLIDE_ONLY);
- RNA_def_property_boolean_default(prop, false);
- RNA_def_property_ui_text(
- prop, "Only Collide Lines", "Use for closing gaps only if the extend strokes collide");
- RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
-
prop = RNA_def_property(srna, "show_fill", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", GP_BRUSH_FILL_HIDE);
RNA_def_property_boolean_default(prop, true);