mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-03-29 18:54:07 +00:00
The Custom Wave init_cond_tree was being evaluated twice. Once in evalInitConds, and once in evalCustomWavePerFrameEquations. This was not correct
git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@410 6778bc44-b910-0410-a7a0-be141de4315d
This commit is contained in:
@ -552,13 +552,6 @@ int CustomWave::add_per_point_eqn(char * name, GenExpr * gen_expr)
|
||||
|
||||
void CustomWave::evalInitConds()
|
||||
{
|
||||
|
||||
|
||||
for (std::map<std::string, InitCond*>::iterator pos = init_cond_tree.begin(); pos != init_cond_tree.end(); ++pos)
|
||||
{
|
||||
assert(pos->second);
|
||||
pos->second->evaluate();
|
||||
}
|
||||
|
||||
for (std::map<std::string, InitCond*>::iterator pos = per_frame_init_eqn_tree.begin(); pos != per_frame_init_eqn_tree.end(); ++pos)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user