diff --git a/openpype/hosts/maya/plugins/load/load_image.py b/openpype/hosts/maya/plugins/load/load_image.py index e975fb8b61..3cf2394525 100644 --- a/openpype/hosts/maya/plugins/load/load_image.py +++ b/openpype/hosts/maya/plugins/load/load_image.py @@ -306,13 +306,12 @@ class FileNodeLoader(load.LoaderPlugin): # our formatting, so that wouldn't be padded as 0 return "___{}___".format(key) - # We want to format UDIM and Frame numbers with the specific tokens - # so we in-place change the representation context so it's formatted - # with the tokens as we'd want them. So we explicitly change those - # tokens around with what we'd need. + # We format UDIM and Frame numbers with their specific tokens. To do so + # we in-place change the representation context data to format the path + # with our own data tokens = { "frame": "", - "udim": "" + "udim": "" } has_tokens = False repre_context = representation["context"]