Jump to content

[SOLVED] blinking Unigine settings window


photo

Recommended Posts

Posted

hi, in samples/app/GLAppQt, i print in console "editor_load", press "escape", appered Unigine settings window, but it is blinking, why?

Posted

Hi,

This issue is added to our internal bug tracker. But I'm afraid we can't give any ETA.

  • 3 months later...
Posted

This bug is fixed. Fix will be available in the next SDK update.

 

In meantime you can replace setKeyState(), getKeyState() and clearKeyState() methods (AppQt.cpp, line 442) with the following:

/*
 */
void AppQt::setKeyState(int key,int state) {
    if(key < 0 || key >= NUM_KEYS) return;
    keys[key] = state;
}
 
int AppQt::getKeyState(int key) {
    if(key < 0 || key >= NUM_KEYS) return 0;
    return keys[key];
}
 
int AppQt::clearKeyState(int key) {
    if(key < 0 || key >= NUM_KEYS) return 0;
    int ret = keys[key];
    keys[key] = 0;
    return ret;
}

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

×
×
  • Create New...