fix active index casting

pull/5/head
“christopheseux” 2023-05-11 11:12:23 +02:00
parent 95e5610ff9
commit 735fdddd09
1 changed files with 4 additions and 1 deletions

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,