- tracing a bug that fires an param->engine_val assertion

- maybe fixed issues involving unspec'ed init conditions upon preset initialization


git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/personal/carm/dev-1.0@319 6778bc44-b910-0410-a7a0-be141de4315d
This commit is contained in:
w1z7ard
2007-08-11 17:26:48 +00:00
parent d6898f401a
commit 12908bceb3
17 changed files with 216 additions and 166 deletions

View File

@ -384,7 +384,7 @@ CustomWave::CustomWave(int _id):
CustomWave::~CustomWave() {
for (std::map<int, PerPointEqn*>::iterator pos = per_point_eqn_tree.begin(); pos != per_point_eqn_tree.end(); ++pos)
for (std::map<int, PerPointEqn*>::iterator pos = per_point_eqn_tree.begin(); pos != per_point_eqn_tree.end(); ++pos)
delete(pos->second);
for (std::map<int, PerFrameEqn*>::iterator pos = per_frame_eqn_tree.begin(); pos != per_frame_eqn_tree.end(); ++pos)
@ -409,16 +409,6 @@ CustomWave::~CustomWave() {
free(value2);
free(sample_mesh);
r_mesh = NULL;
g_mesh = NULL;
b_mesh = NULL;
a_mesh = NULL;
x_mesh = NULL;
y_mesh = NULL;
value1 = NULL;
value2 = NULL;
sample_mesh = NULL;
}