Skip to content

Commit

Permalink
LOL: Fix bug in material assign when no object is selected
Browse files Browse the repository at this point in the history
  • Loading branch information
neo2068 committed Nov 7, 2020
1 parent 5606de5 commit 33d3d25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/lol/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ def link_asset(context, asset, location, rotation):


def append_material(context, asset, target_object, target_slot):
if target_object == None:
if target_object == '':
return

user_preferences = get_addon_preferences(context)
Expand Down

0 comments on commit 33d3d25

Please sign in to comment.