OP-4504 - remove extension from originalBasename

It would produce weird concatenation of extensions.
This commit is contained in:
Petr Kalis 2022-12-15 16:38:19 +01:00
parent e3866dff5a
commit 3c09dfc80e

View file

@ -696,7 +696,7 @@ class IntegrateAsset(pyblish.api.InstancePlugin):
raise KnownPublishError(
"This is a bug. Representation file name is full path"
)
template_data["originalBasename"] = fname
template_data["originalBasename"], _ = os.path.splitext(fname)
# Manage anatomy template data
template_data.pop("frame", None)
if is_udim: