add intermediate stroke container - strokes to drawing.strokes
This commit is contained in:
@@ -84,7 +84,7 @@ class GP_OT_pick_closest_material(Operator):
|
||||
for f in l.frames:
|
||||
if not f.select:
|
||||
continue
|
||||
for s in f.strokes:
|
||||
for s in f.drawing.strokes:
|
||||
self.stroke_list.append(s)
|
||||
|
||||
else:
|
||||
@@ -92,7 +92,7 @@ class GP_OT_pick_closest_material(Operator):
|
||||
for l in self.gp.layers:
|
||||
if l.hide or not l.current_frame():# l.lock or
|
||||
continue
|
||||
for s in l.current_frame().strokes:
|
||||
for s in l.current_frame().drawing.strokes:
|
||||
self.stroke_list.append(s)
|
||||
|
||||
if self.fill_only:
|
||||
@@ -240,7 +240,7 @@ class GP_OT_pick_closest_material(Operator):
|
||||
for f in l.frames:
|
||||
if not f.select:
|
||||
continue
|
||||
for s in f.strokes:
|
||||
for s in f.drawing.strokes:
|
||||
self.stroke_list.append(s)
|
||||
|
||||
else:
|
||||
@@ -248,7 +248,7 @@ class GP_OT_pick_closest_material(Operator):
|
||||
for l in gp.layers:
|
||||
if l.hide or not l.current_frame():# l.lock or
|
||||
continue
|
||||
for s in l.current_frame().strokes:
|
||||
for s in l.current_frame().drawing.strokes:
|
||||
self.stroke_list.append(s)
|
||||
|
||||
if self.stroke_filter == 'FILL':
|
||||
|
||||
Reference in New Issue
Block a user