Browse Source

Projucer: Fix handling ARA analyzable content and transform flags

develop
attila 1 year ago
parent
commit
2cc41fff40
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      extras/Projucer/Source/Project/jucer_Project.cpp

+ 4
- 2
extras/Projucer/Source/Project/jucer_Project.cpp 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;


Loading…
Cancel
Save