(EDIT: I fixed it, so I'll leave the solution here in case anybody else runs into this issue) - See bottom
I recently had a bit of trouble with my versioning setup and managed to get my project almost ready to compile.
The problem I'm having is that I set up a float user variable so I could link a switch to control the views while controlling a parameter. It has worked perfectly (with the addition of a hidden switch control I had added to ensure the view switch when I need them to), however not the .cpp file defaults the initial value to -nan(ind).
The line should be:
ui103->dPresetData = 0.000000;Â Â ... ui103->dPresetData = 0.000000;ui103->dPresetData = 0.000000;
however it becomes
ui103->dPresetData = -nan(ind);Â
Do you know off hand why it would do that?Â
First thing - It was actually supposed to be a VSTGUI variable, not a generic float, so I changed that.
It still kept re-initializing it to -nan(ind), so in VS I selected 'clean', and 'build' (not 'rebuild'), and it was error-free.
It then recompiled and worked as expected.
Wooohoo, I'm relieved.
Anyhow, Happy Holidays!
No problem, I'm glad I could help!
I'm pretty sure it had to do with how I interacted with my versioning software. I mistakenly deleted some files, and as a result, had to do a ton of folder and file diffs/edits with previous versions to get everything back in order.
Also, since I hadn't actually 'cleaned' the solution, the rebuild was possibly sticking garbage into where the value was supposed to be (just a guess).
Anyhow, I look forward to the newest release, and if I run into any issues I'll definitely report them.
Have a good one,
Most Users Ever Online: 152
Currently Browsing this Page:
Guest Posters: 1
Moderators: W Pirkle: 690