docsforadobe / aequery

MIT License
41 stars 8 forks source link

getProperties() causes position properties to separate. #65

Closed foughtthelaw closed 2 years ago

foughtthelaw commented 2 years ago

I'm working on a script that searches all properties in the active comp using the following line var props = aeq.getProperties(aeq.getLayers(aeq.getActiveComp()))

When that gets run ALL position properties get Seperate Dimensions enabled. This would be fine if it didn't also obliterate any easing on existing keyframes. Not sure if this is a limitation of AE or something happening in AEQ but at least worth reporting.

runegan commented 2 years ago

It's defined to do this by default, it's possible to pass options to skip this, but I agree that it is a weird default.

https://github.com/aenhancers/aequery/blob/57779bb63baeca1edca7c316527d1e47060df80e/lib/dom.js#L235

On Sat, 28 May 2022 at 01:27, Matthew Law @.***> wrote:

I'm working on a script that searches all properties in the active comp using the following line var props = aeq.getProperties(aeq.getLayers(aeq.getActiveComp()))

When that gets run ALL position properties get Seperate Dimensions enabled. This would be fine if it didn't also obliterate any easing on existing keyframes. Not sure if this is a limitation of AE or something happening in AEQ but at least worth reporting.

— Reply to this email directly, view it on GitHub https://github.com/aenhancers/aequery/issues/65, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACR4NVYQGGSPYGPDUTJTB6DVMFK43ANCNFSM5XFWLBKQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

foughtthelaw commented 2 years ago

Actually this line makes it look like it's not supposed to be the default, so that makes me suspect it actually is a bug.