ivan.cuevas Posted October 21, 2014 Share Posted October 21, 2014 Hi, I don't know if it's a bug or it's something must be configured in system script, anyway I would appreciate any help to solve this. If you execute gui_07 sample with MOUSE_SOFT defined, the user interface can't gain the focus by left mouse button event. I think is more intuitive, whe left mouse button is pressed over an object gui, pass the focus to user interface instead of priorize the mouse control as it does when MOUSE_SOFT is not defined. Thanks. Edit: I've modified the system.h script to ignore left mouse button in the first frame to give the GUI system a chance to receive the event, in the next frames, if the button is still pressed, the mouse controls events are processed. This is the modified file: system.h Link to comment
silent Posted October 22, 2014 Share Posted October 22, 2014 So, the issue is solved for you at this moment (with modified system script)? 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
ivan.cuevas Posted October 22, 2014 Author Share Posted October 22, 2014 Yes, looks like the modified script does the job. I hope it will be useful for others. Link to comment
Recommended Posts