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:
authorAntonioya <blendergit@gmail.com>2019-08-08 11:23:05 +0300
committerAntonioya <blendergit@gmail.com>2019-08-08 15:13:01 +0300
commitb9d0f33530f095fb318890dca4f8933a9afd1904 (patch)
tree3506e4f5a951d591f871474caa5292b0868ab2d0 /release/scripts/startup/bl_ui/properties_grease_pencil_common.py
parent9d4a8cbd887f03bf1acfaae5e8e3342f3c7ed040 (diff)
Fix T67545: GPencil - New Merge by Distance operator
Merge points when the distance is less than a predefined value. The method to interpolate the position created a wrong merge. Now, always the secondary point is merged with the first one (merge at first), except the last point.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_grease_pencil_common.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_grease_pencil_common.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
index 1e5aac4cc0d..bef4f395233 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -606,6 +606,7 @@ class GPENCIL_MT_cleanup(Menu):
def draw(self, _context):
layout = self.layout
+ layout.operator("gpencil.stroke_merge_by_distance", text="Merge by Distance")
layout.operator("gpencil.frame_clean_loose", text="Loose Points")
layout.separator()