use task normed name

This commit is contained in:
2024-02-15 10:38:36 +01:00
parent 697ead9329
commit 688a06dffd
3 changed files with 9 additions and 6 deletions
+2 -2
View File
@@ -381,8 +381,8 @@ class Project(PropertyGroup):
for task_type in self.task_types:
prop = bpy.props.PointerProperty(type=ShotTask)
ShotTasks.__annotations__[task_type.name] = prop
setattr(ShotTasks, task_type.name, prop)
ShotTasks.__annotations__[norm_str(task_type.name)] = prop
setattr(ShotTasks, norm_str(task_type.name), prop)
class VSETB_UL_casting(UIList):