mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix dotted extension
This commit is contained in:
parent
441e40c6f5
commit
2397a02804
1 changed files with 4 additions and 0 deletions
|
|
@ -204,6 +204,8 @@ class NameWindow(QtWidgets.QDialog):
|
|||
if not data["comment"]:
|
||||
data.pop("comment", None)
|
||||
|
||||
data["ext"] = data["ext"][1:]
|
||||
|
||||
anatomy_filled = self.anatomy.format(data)
|
||||
return anatomy_filled[self.template_key]["file"]
|
||||
|
||||
|
|
@ -242,6 +244,8 @@ class NameWindow(QtWidgets.QDialog):
|
|||
if not data["comment"]:
|
||||
data.pop("comment", None)
|
||||
|
||||
data["ext"] = data["ext"][1:]
|
||||
|
||||
version = api.last_workfile_with_version(
|
||||
self.root, template, data, extensions
|
||||
)[1]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue