Skip to content

Commit

Permalink
improve the channel map filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
moonyuet committed Jul 29, 2024
1 parent 0718e5a commit 2ff0b6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/ayon_substancepainter/api/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ def get_filtered_export_preset(export_preset_name, channel_type_names):
if not channel_map.get("fileName"):
continue

if channel_name in channel_map["fileName"]:
if f"_{channel_name}" in channel_map["fileName"]:
target_maps.append(channel_map)
# Create a new preset
return {
Expand Down

0 comments on commit 2ff0b6e

Please sign in to comment.