DaisyExamples icon indicating copy to clipboard operation
DaisyExamples copied to clipboard

Helper script overwrites function definitions inside source files

Open sedurCode opened this issue 3 years ago • 1 comments

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

sedurCode avatar Dec 25 '21 14:12 sedurCode

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.

stephenhensley avatar Jan 04 '22 00:01 stephenhensley