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:
parent
62bba21655
commit
2cc41fff40
1 changed files with 4 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue