diff --git a/animationCombiner/api/actions.py b/animationCombiner/api/actions.py index 5b28d0f..216108d 100644 --- a/animationCombiner/api/actions.py +++ b/animationCombiner/api/actions.py @@ -100,7 +100,6 @@ def copy_from(self, other: "TransitionGroup"): class Action(bpy.types.PropertyGroup): name: StringProperty(name="Name", default="Unknown") - path: StringProperty(name="Path to file") length_group: PointerProperty(type=LengthGroup) transition: PointerProperty(type=TransitionGroup) animation: PointerProperty(type=Animation) @@ -131,9 +130,6 @@ def copy_from(self, other: "Action"): self.animation.copy_from(other.animation) def draw(self, layout): - row = layout.row() - row.enabled = False - row.prop(self, "path") row = layout.column_flow(columns=1) row.prop(self, "name") diff --git a/animationCombiner/operators/files/importer.py b/animationCombiner/operators/files/importer.py index 5215824..1592957 100644 --- a/animationCombiner/operators/files/importer.py +++ b/animationCombiner/operators/files/importer.py @@ -34,7 +34,6 @@ def execute(self, context): armature = bpy.context.view_layer.objects.active.data action = armature.actions.add() - action.path = path action.animation.from_raw(raw_animation, HBMSkeleton()) action.length_group.original_length = raw_animation.length action.length_group.length = raw_animation.length