mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
skip duplicated versions
This commit is contained in:
parent
18104b6aed
commit
07e151981c
1 changed files with 4 additions and 3 deletions
|
|
@ -38,9 +38,10 @@ class OpenPypeVersionInput(TextEntity):
|
|||
value_hints = []
|
||||
if state is OverrideState.STUDIO:
|
||||
versions = self._get_openpype_versions()
|
||||
if versions is not None:
|
||||
for version in versions:
|
||||
value_hints.append(str(version))
|
||||
for version in versions:
|
||||
version_str = str(version)
|
||||
if version_str not in value_hints:
|
||||
value_hints.append(version_str)
|
||||
|
||||
self.value_hints = value_hints
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue