]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Model/src/splitter.cpp
Se elimina el directorio tests del server del configure.in y Makefile.am para
[z.facultad/75.42/plaqui.git] / Model / src / splitter.cpp
index 4d4497ef1d55a6858c702a8733dd870c92e681b6..7afa150e9ea85328a2528c6b9c147ed6126f073b 100644 (file)
@@ -83,6 +83,11 @@ void Splitter::simulate()
                return;
        }
 
+       std::list<IConector *>::iterator i = in_list.begin();
+       if (i != in_list.end()) {
+               PlantItem *o = (PlantItem *)(*i);
+               set_color( o->get_color() );
+       }
        std::cout << name << "::Flujo actual = " << actual_flow << std::endl;
        updated = false;
 }