Lales.Charles Posted July 10, 2020 Posted July 10, 2020 Dear Unigine support, Just updated a code from 2.10 to 2.11, and one method failed whereas before it was fine. Had to deactivate it. We do use IG_config.xml de declare / configure CIGIConnector. // get CIGI interface auto cigi = IG::CIGI::Connector::get(); // test CIGI connection if (!cigi /*|| !cigi->isInitialized()*/) { Log::fatal("CIGI could not be initialized.\n"); return; } In CIGI demo, activation is done manually, and isInitialized() works fine. // get CIGI interface auto cigi = IG::CIGI::Connector::get(); // initialize CIGI connection cigi->init(IG::CIGI::CIGI_VERSION_33, host_address_e->getText(), atoi(udp_send_port_e->getText()), atoi(udp_recv_port_e->getText())); // test CIGI connection if (!cigi->isInitialized()) { Log::fatal("CIGI could not be initialized.\n"); return; } Maybe it is useless to maintain this check... Kind regards, Charles
morbid Posted July 10, 2020 Posted July 10, 2020 Hello Charles, We'll check this case, I suppose isInitialized should work in the first update. Thanks. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Recommended Posts