ivan.cuevas Posted October 24, 2012 Share Posted October 24, 2012 Problem Strange system behavior when an objectgui widget is clicked. It causes wrong intersection operations and player control failure. Reproduction steps It's not automatic but easy to reproduce (just repeat steps 3-4 until it happens): Place attached zip content in data/samples folder. Execute guiproblem world Click on any of the labels (an engine message is shown "s:label 1" or "s:label 2") Click over the box and the label callback is invoked again. Once this happens, you can click the background and the callback will be invoked again. In addition you wouldn't be able to control player. Thanks in advance. teacherview.zip Link to comment
silent Posted October 24, 2012 Share Posted October 24, 2012 Hi Ivan, We successfully reproduced this behavior. I'll pass this information to the developers. 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
unclebob Posted October 24, 2012 Share Posted October 24, 2012 Hi, Thank you for this issue, we'll fix that! The problem is that your label bounds are beyond ObjectGUI, so as a workaround try to keep your widgets bounds inside or resize screen on your ObjectGUI. In sample you can remove first digit from labels and see the results. Tip: for debugging purposes it's good to enable background on your ObjectGUI node. This can be done by calling your_object_gui_instance.setBackground(1); Link to comment
ivan.cuevas Posted October 24, 2012 Author Share Posted October 24, 2012 Ok, thanks for the work around. Link to comment
frustum Posted August 24, 2013 Share Posted August 24, 2013 Will be fixed in the next SDK. Link to comment
Recommended Posts