multi_frame editing changed to scene toolsetting property
This commit is contained in:
@@ -77,7 +77,7 @@ class GP_OT_pick_closest_material(Operator):
|
||||
self.stroke_list = []
|
||||
self.inv_mat = self.ob.matrix_world.inverted()
|
||||
|
||||
if self.gp.use_multiedit:
|
||||
if context.scene.tool_settings.use_grease_pencil_multi_frame_editing:
|
||||
for l in self.gp.layers:
|
||||
if l.hide:# l.lock or
|
||||
continue
|
||||
@@ -233,7 +233,7 @@ class GP_OT_pick_closest_material(Operator):
|
||||
self.stroke_list = []
|
||||
self.inv_mat = self.ob.matrix_world.inverted()
|
||||
|
||||
if gp.use_multiedit:
|
||||
if context.scene.tool_settings.use_grease_pencil_multi_frame_editing:
|
||||
for l in gp.layers:
|
||||
if l.hide:# l.lock or
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user