1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Projucer: Fix handling ARA analyzable content and transform flags

This commit is contained in:
attila 2023-12-01 18:55:58 +01:00
parent 62bba21655
commit 2cc41fff40

View file

@ -2326,7 +2326,8 @@ int Project::getARAContentTypes() const noexcept
{
int res = 0;
if (auto* arr = pluginARAAnalyzableContentValue.get().getArray())
if (const auto analyzableContent = pluginARAAnalyzableContentValue.get();
auto* arr = analyzableContent.getArray())
{
for (auto c : *arr)
res |= (int) c;
@ -2339,7 +2340,8 @@ int Project::getARATransformationFlags() const noexcept
{
int res = 0;
if (auto* arr = pluginARATransformFlagsValue.get().getArray())
if (const auto transformFlags = pluginARATransformFlagsValue.get();
auto* arr = transformFlags.getArray())
{
for (auto c : *arr)
res |= (int) c;