2d-inc / support

Public issue tracker for 2Dimensions.com
4 stars 2 forks source link

Flare crash on open #220

Open CLucera opened 5 years ago

CLucera commented 5 years ago

While modifying the animation, after adding a scale keyframe the web application crashed. After the crash I'm not anymore able to open the file:

https://www.2dimensions.com/a/HatDroid/files/flare/coffice-loading

luigi-rosso commented 5 years ago

Thanks for reporting, we have a fix on the way! There's nothing for you to do, but here are some details regarding what happened:

It's related to a translation constraint that can't invert a transform space that has a 0 scale. We will submit a fix so that the constraint doesn't work in local space when this condition occurs. It's the translation constraint on the New Shape (under CupEmpty) that can't invert the space of the CupEmpty because CupGroup (contains CupEmpty) has a scale of 0, so everything in it is also inheriting this 0 scale.

In general setting scale values to 0 will cause constraints that depend on those transformations to behave a little unpredictably as certain options will inherently not be available. They shouldn't crash, however :)

CLucera commented 5 years ago

Thank you Luigi! the good news is it was really a little work to redo!

Il giorno mar 26 mar 2019 alle ore 16:16 Luigi Rosso < notifications@github.com> ha scritto:

Thanks for reporting, we have a fix on the way! There's nothing for you to do, but here are some details regarding what happened:

It's related to a translation constraint that can't invert a transform space that has a 0 scale. We will submit a fix so that the constraint doesn't work in local space when this condition occurs. It's the translation constraint on the New Shape (under CupEmpty) that can't invert the space of the CupEmpty because CupGroup (contains CupEmpty) has a scale of 0, so everything in it is also inheriting this 0 scale.

In general setting scale values to 0 will cause constraints that depend on those transformations to behave a little unpredictably as certain options will inherently not be available. They shouldn't crash, however :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/2d-inc/support/issues/220#issuecomment-476696819, or mute the thread https://github.com/notifications/unsubscribe-auth/AExYqHJzo42i30bH_FACAq9QErPkKDHhks5vajnHgaJpZM4cLnWe .

luigi-rosso commented 5 years ago

Sorry for the hassle! The fix is up now!