Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion io_scene_ueformat/op/settings.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from annotationlib import get_annotations

from bpy.props import BoolProperty, FloatProperty, IntProperty
from bpy.types import PropertyGroup
from typing import Any
Expand All @@ -20,7 +22,7 @@ class UFSettings(PropertyGroup):
def get_props(self) -> dict[str, Any]:
props = {}

for key in self.__annotations__.keys():
for key in get_annotations(UFSettings).keys():
props[key] = getattr(self, key)

return props