- power_btn->setBoolValue( true );
- audio_btn->setBoolValue( true );
- serviceable->setBoolValue( true );
+ if (power_btn->getType() == SGPropertyNode::NONE)
+ power_btn->setBoolValue( true );
+ if (audio_btn->getType() == SGPropertyNode::NONE)
+ audio_btn->setBoolValue( true );
+ if (serviceable->getType() == SGPropertyNode::NONE)
+ serviceable->setBoolValue( true );