ataylor Posted May 18, 2015 Share Posted May 18, 2015 Please see attached test world/ui/cpp. MenuBox has "ShowCallback" function tied to "show" event, but the function is not called during execution when the menubox is shown. Callback works as expected when defined in UnigineScript (un-comment line 12 of test.cpp), but not when defined in UI file. test.cpp test.ui test.world Link to comment
silent Posted May 19, 2015 Share Posted May 19, 2015 Hi Adam, Thank you for the test scene! This bug was added to our internal bug tracker. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
silent Posted June 10, 2015 Share Posted June 10, 2015 Fixed. Bug fix will be available in the next SDK update. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
ataylor Posted July 29, 2015 Author Share Posted July 29, 2015 Hello. Problem is still reproducible using 2015-06-25 SDK. Was this indeed fixed? Link to comment
silent Posted July 30, 2015 Share Posted July 30, 2015 Hi Adam, Sorry, but we can't reproduce this behavior (at least with attached test scene from the first post). Could you please check if you run correct engine version (latest RC)? Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
ataylor Posted July 30, 2015 Author Share Posted July 30, 2015 I am using sim_src_win_2.0-RC that I re-downloaded today using SDK browser. No change in behavior with the scene attached above -- SHOW callback is still not being called when defined in UI file. Callback is fired correctly if defined in UnigineScript. Can you show me diff of C++ source fix for this bug? Link to comment
silent Posted July 31, 2015 Share Posted July 31, 2015 Here is the patch (also editor code is affected, so rebuilding only the engine will not help): Add_function_Widget__isCallback.zip How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
ataylor Posted August 4, 2015 Author Share Posted August 4, 2015 Fixed! The problem was outdated .ung packages. I am now including compilation of these .ung packages as part of our build process to ensure they are updated when the engine is updated. Link to comment
Recommended Posts