----------------------------------------------------------------------------- Execute scene activation by running each ValueId/value -----------------------------------------------------------------------------
| 466 | // Execute scene activation by running each ValueId/value |
| 467 | //----------------------------------------------------------------------------- |
| 468 | bool Scene::Activate |
| 469 | ( |
| 470 | ) |
| 471 | { |
| 472 | bool res = true; |
| 473 | for( vector<SceneStorage*>::iterator it = m_values.begin(); it != m_values.end(); ++it ) |
| 474 | { |
| 475 | if ( !Manager::Get()->SetValue( (*it)->m_id, (*it)->m_value ) ) |
| 476 | { |
| 477 | res = false; |
| 478 | } |
| 479 | } |
| 480 | return res; |
| 481 | } |
no test coverage detected