void OBJECTCONFIG::setDirectory_Name(string text) { // cas où aucun TEXTELEMENT n'est associé à la commande if(this->Element != NULL) { this->Element->setModified(true); this->Element->setDirectory_Name(text); this->Element->set3DObject( GSEOBJECT3D::Create((char*)text.c_str()) ); if(this->Element->get3DObject() == NULL) { this->Element->setValid(false); } else { this->Element->setValid(true); this->Element->get3DObject()->EnableAnimation(true); } } else { this->Element->setValid(false); this->Error(); } }