Fix file checker's redundant strokes delete

4.1.3

- fixed: error in "remove stroke duplication" using file checker
This commit is contained in:
pullusb
2025-06-17 16:57:20 +02:00
parent 3624f5cabd
commit 939b4f534f
5 changed files with 24 additions and 16 deletions
+6 -4
View File
@@ -11,10 +11,12 @@ from bpy.props import (
from .OP_cursor_snap_canvas import cursor_follow_update
from .OP_layer_manager import layer_name_build
def change_edit_lines_opacity(self, context):
for gp in bpy.data.grease_pencils:
if not gp.is_annotation:
gp.edit_line_color[3]=self.edit_lines_opacity
## Obsolete: Gpv3 has no edit line color anymore
# def change_edit_lines_opacity(self, context):
# for gp in bpy.data.grease_pencils:
# if not gp.is_annotation:
# gp.edit_line_color[3]=self.edit_lines_opacity
def update_layer_name(self, context):