From e21a6e3d871be7f9e598cc6f34c7e359f0470011 Mon Sep 17 00:00:00 2001 From: d3cod3 Date: Thu, 28 Nov 2019 13:24:58 +0100 Subject: [PATCH] fixed example menu --- src/ofApp.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/ofApp.cpp b/src/ofApp.cpp index fa22d6b..269d197 100644 --- a/src/ofApp.cpp +++ b/src/ofApp.cpp @@ -352,7 +352,11 @@ void ofApp::drawMainMenu(){ } if(ImGui::BeginMenu("Examples")){ + #if defined(TARGET_OSX) examplesRoot.listDir(mosaicExamplesPath.string()); + #else + examplesRoot.listDir(ofToDataPath("../examples")); + #endif examplesRoot.sort(); for(int i=0;i