Brushstroke Tools: Initial Version #328
@ -378,7 +378,7 @@ class BSBST_OT_copy_brushstrokes(bpy.types.Operator):
|
||||
if not mod_info.socket_info[v.identifier].link_context:
|
||||
continue
|
||||
# re-initialize linked context parameters
|
||||
link_context_type = settings.preset_object.modifier_info[mod.name].socket_info[v.identifier].link_context_type
|
||||
link_context_type = ob.modifier_info[mod.name].socket_info[v.identifier].link_context_type
|
||||
if link_context_type=='SURFACE_OBJECT':
|
||||
ob.modifiers[mod.name][f'{v.identifier}'] = surface_object
|
||||
elif link_context_type=='UVMAP':
|
||||
|
@ -198,7 +198,8 @@ class BSBST_MT_bs_context_menu(bpy.types.Menu):
|
||||
def draw(self, _context):
|
||||
layout = self.layout
|
||||
|
||||
layout.operator('brushstroke_tools.copy_brushstrokes', text='Copy to Selected Objects')
|
||||
op = layout.operator('brushstroke_tools.copy_brushstrokes', text='Copy to Selected Objects')
|
||||
op.copy_all = False
|
||||
op = layout.operator('brushstroke_tools.copy_brushstrokes', text='Copy All to Selected Objects')
|
||||
op.copy_all = True
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user