Skip to content

Commit

Permalink
Small fixes, use new ELSE helpfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyschoen committed Nov 9, 2023
1 parent 2fe9bff commit 92f1a99
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -185,12 +185,13 @@ set(JUCE_COMPILE_DEFINITIONS
)

set(PLUGDATA_COMPILE_DEFINITIONS

PLUGDATA_VERSION="${PLUGDATA_VERSION}"
PLUGDATA_GIT_HASH="${GIT_HASH}"
PD=1
ENABLE_SFIZZ=${ENABLE_SFIZZ}
)
if(ENABLE_SFIZZ)
list(APPEND PLUGDATA_COMPILE_DEFINITIONS ENABLE_SFIZZ=1)
endif()

add_library(juce STATIC)
target_compile_definitions(juce
Expand Down
9 changes: 1 addition & 8 deletions Source/Objects/ScopeObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -214,14 +214,7 @@ class ScopeBase : public ObjectBase
}
}

// For some reason we need to repaint the whole graph to make this work inside a GOP
if(auto* graph = cnv->findParentComponentOfClass<GraphOnParent>())
{
graph->repaint();
}
else {
repaint();
}
repaint();
}

void valueChanged(Value& v) override
Expand Down
2 changes: 1 addition & 1 deletion Source/Utility/Config.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ struct ProjectInfo {

static inline const File appDataDir = File::getSpecialLocation(File::SpecialLocationType::userDocumentsDirectory).getChildFile("plugdata");

static inline const String versionSuffix = "-test";
static inline const String versionSuffix = "-test2";
static inline const File versionDataDir = appDataDir.getChildFile("Versions").getChildFile(ProjectInfo::versionString + versionSuffix);
};

Expand Down

0 comments on commit 92f1a99

Please sign in to comment.