DaisyExamples
DaisyExamples copied to clipboard
Helper script overwrites function definitions inside source files
If I use the helper script to copy the pod midi example into a new project all the function and object definitions that included midi in the symbol are overwritten with the name of the new project. Example:
python helper.py copy myProjects/monosynth --source pod/Midi
Causes:
void HandlemonosynthMessage(monosynthEvent m)
in monosynth.cpp
Expected:
void HandleMidiMessage(MidiEvent m)
in monosynth.cpp
Oh no!
Thanks for the bug report! We'll try to get this fixed up ASAP.
Can't recall why the script would be going into the cpp for the filename change anyway, should only have to change the file name for that one.