fix active index casting

This commit is contained in:
“christopheseux” 2023-05-11 11:12:23 +02:00
parent 95e5610ff9
commit 735fdddd09

View File

@ -501,7 +501,10 @@ class VSETB_PGT_strip_settings(PropertyGroup):
@property
def active_casting(self):
return self.casting[self.casting_index]
try:
self.casting[self.casting_index]
except KeyError:
return
classes = (
Asset,