Skip to content

Commit

Permalink
Merge pull request #34 from pehala/remove_path
Browse files Browse the repository at this point in the history
Remove path as it is no longer needed
  • Loading branch information
pehala authored Feb 25, 2023
2 parents bb3b51a + 38e879a commit 473579c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions animationCombiner/api/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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")

Expand Down
1 change: 0 additions & 1 deletion animationCombiner/operators/files/importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 473579c

Please sign in to comment.