[core] Add support for imageList as output in SequencePlayer

This commit is contained in:
Aurore LAFAURIE 2024-05-14 17:58:31 +02:00
parent 6e89cb68f6
commit 7af0997a73

View file

@ -1289,7 +1289,7 @@ class BaseNode(BaseObject):
Return True if at least one attribute has the 'sequence' semantic (and can thus be loaded in the 2D Viewer), False otherwise. Return True if at least one attribute has the 'sequence' semantic (and can thus be loaded in the 2D Viewer), False otherwise.
""" """
for attr in self._attributes: for attr in self._attributes:
if attr.enabled and attr.isOutput and attr.desc.semantic == "sequence": if attr.enabled and attr.isOutput and (attr.desc.semantic == "sequence" or attr.desc.semantic == "imageList"):
return True return True
return False return False