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:
authorYimingWu <xp8110@outlook.com>2021-06-09 19:10:24 +0300
committerYimingWu <xp8110@outlook.com>2021-06-09 19:11:14 +0300
commitf42a501c619605bca90d4d7fe15bad22d19be7be (patch)
treec31fdaac4ddcbfa87d48cfb33f4bd686ca76c7b5 /source/blender/makesrna/intern/rna_gpencil.c
parentd8b8b4d7e297b5dceddeba3a60e71e13372484da (diff)
Revert "GPencil: Add custom normal entry to bGPDspoint."
This reverts commit f546b0800b9121b24b1292f1ec602ed9964d1848.
Diffstat (limited to 'source/blender/makesrna/intern/rna_gpencil.c')
-rw-r--r--source/blender/makesrna/intern/rna_gpencil.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/makesrna/intern/rna_gpencil.c b/source/blender/makesrna/intern/rna_gpencil.c
index a2d6bbed70c..19ed5f960cf 100644
--- a/source/blender/makesrna/intern/rna_gpencil.c
+++ b/source/blender/makesrna/intern/rna_gpencil.c
@@ -1288,14 +1288,6 @@ static void rna_def_gpencil_stroke_point(BlenderRNA *brna)
RNA_def_property_ui_text(
prop, "Vertex Color", "Color used to mix with point color to get final color");
RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update");
-
- /* Surface normal. */
- prop = RNA_def_property(srna, "custom_vector", PROP_FLOAT, PROP_COLOR);
- RNA_def_property_array(prop, 3);
- RNA_def_property_range(prop, 0.0f, 1.0f);
- RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
- RNA_def_property_ui_text(prop, "Custom Vector", "Generic custom vector for various use cases");
- RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update");
}
static void rna_def_gpencil_stroke_points_api(BlenderRNA *brna, PropertyRNA *cprop)