Initial Grease Pencil 3.0 stage #106848

Merged
Falk David merged 224 commits from filedescriptor/blender:grease-pencil-v3 into main 2023-05-30 11:14:22 +02:00
1 changed files with 2 additions and 3 deletions
Showing only changes of commit 228d817743 - Show all commits

View File

@ -213,8 +213,7 @@ class Params:
self.tool_tweak_event = {"type": self.tool_mouse, "value": 'CLICK_DRAG'}
self.tool_maybe_tweak_event = {"type": self.tool_mouse, "value": self.tool_maybe_tweak_value}
if experimental:
self.experimental = experimental
self.experimental = experimental
# ------------------------------------------------------------------------------
@ -3817,7 +3816,7 @@ def km_grease_pencil_stroke_paint_draw_brush(params):
)
# Draw
if params.experimental.use_grease_pencil_version3:
if params.experimental and params.experimental.use_grease_pencil_version3:
items.extend([
("grease_pencil.brush_stroke", {"type": 'LEFTMOUSE', "value": 'PRESS'},
{"properties": [("mode", 'NORMAL')]}),