X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/20f30a0ae955fb71428ab382aeaf025a5f93b7e1..4c30f5939017e47c70f79df3a9f737d9ea743db5:/Model/src/splitter.cpp diff --git a/Model/src/splitter.cpp b/Model/src/splitter.cpp index c3ce1b4..140bf7e 100644 --- a/Model/src/splitter.cpp +++ b/Model/src/splitter.cpp @@ -89,14 +89,10 @@ void Splitter::simulate() return; } - std::list::iterator i = in_list.begin(); - if (i != in_list.end()) { - PlantItem *o = (PlantItem *)(*i); - set_color( o->get_color() ); - } #ifdef DEBUG std::cout << name << "::Flujo actual = " << actual_flow << std::endl; #endif updated = false; + color_updated = false; }