Skip to content

[Lottie exporter] 075-skeleton-group.sif fails to export #927

Open

Description

@morevnaproject

Synfig version & platform:
Commit id: 7cadfbf

Issue description:
Test file - https://github.com/synfig/synfig-tests-regressions/blob/master/export/lottie/075-skeleton-group.sif

Fails to export with the following errors:

synfig(17553) [22:17:20] info: Traceback (most recent call last):
  File "/home/konstantin/sources/synfig.lottie/_production/build/share/synfig/plugins/lottie-exporter/lottie-exporter.py", line 163, in <module>
    new_file_name = parse(FILE_NAME)
  File "/home/konstantin/sources/synfig.lottie/_production/build/share/synfig/plugins/lottie-exporter/lottie-exporter.py", line 68, in parse
    gen_layers(settings.lottie_format["layers"], canvas, canvas.get_num_layers() - 1)
  File "/home/konstantin/sources/synfig.lottie/_production/build/share/synfig/plugins/lottie-exporter/layers/driver.py", line 82, in gen_layers
    itr)
  File "/home/konstantin/sources/synfig.lottie/_production/build/share/synfig/plugins/lottie-exporter/layers/group.py", line 69, in gen_layer_group
    angle.animate("rotate_layer_angle")
UnboundLocalError: local variable 'angle' referenced before assignment

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Activity

  1. AnishGG commented on Aug 19, 2019

    @AnishGG
    Member

    @morevnaproject,
    Unfortunately bones are not yet ready to handle the group transformations. This might take some more time to resolve.
    Before resolving this issue, I will have to dig deeper and develop some new classes like composite class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions