File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 6969# define DISTRHO_PLUGIN_USES_MODGUI 0
7070#endif
7171
72+ #ifndef DISTRHO_PLUGIN_USES_CUSTOM_MODGUI
73+ # define DISTRHO_PLUGIN_USES_CUSTOM_MODGUI 0
74+ #endif
75+
7276#if DISTRHO_PLUGIN_HAS_EMBED_UI
7377# if DISTRHO_OS_HAIKU
7478# define DISTRHO_LV2_UI_TYPE " BeUI"
@@ -1218,7 +1222,7 @@ void lv2_generate_ttl(const char* const basename)
12181222 std::cout << " done!" << std::endl;
12191223 }
12201224
1221- #if DISTRHO_PLUGIN_USES_MODGUI
1225+ #if DISTRHO_PLUGIN_USES_MODGUI && !DISTRHO_PLUGIN_USES_CUSTOM_MODGUI
12221226 {
12231227 std::cout << " Writing modgui.ttl..." ; std::cout.flush ();
12241228 std::fstream modguiFile (" modgui.ttl" , std::ios::out);
@@ -1505,7 +1509,7 @@ void lv2_generate_ttl(const char* const basename)
15051509 stylesheetFile.close ();
15061510 std::cout << " done!" << std::endl;
15071511 }
1508- #endif
1512+ #endif // DISTRHO_PLUGIN_USES_MODGUI && !DISTRHO_PLUGIN_USES_CUSTOM_MODGUI
15091513
15101514 // ---------------------------------------------
15111515
You can’t perform that action at this time.
0 commit comments