error:Overlayzorder can't be greater than 650

huaner

16-07-2007 09:57:02

hi:
there is a crash if i create windows which are create by mSheet->createWindow() more than 7. it's very it go well if the count of windows below 7. the error hinting is:
zOrder <= 650 && Overlayzorder can't be greater than 650 :arrow:
there is a sentence the demo of verson 0.9.3release. i use the version 0.9.5 .

QuickGUI::Window* menuWindow = mGUIManager->createEmptyWindow(Ogre::Vector4(0,0,1,0.04));
menuWindow->setZOrder(600);

but, i think you rectify some things in the 0.9.5, so this can't be used in the 0.9.5. but , i try to as below

mSheet->setZOrderOffset(-50);

but i doesn't work. at last, i have to switch hide() by destroyWindow manually. i don't want to do this.
so, how to do it? and how to comprehend the order of overlay in the QuickGUI?
thanks

kungfoomasta

16-07-2007 11:02:45

I noticed my zOrder management was off somewhere when I was debugging a while back.

zOrder issues should be fixed in v0.9.6. No ETA on this, although I am working on it quite a lot lately, so hopefully it will be soon.

huaner

17-07-2007 01:19:59

I noticed my zOrder management was off somewhere when I was debugging a while back.

zOrder issues should be fixed in v0.9.6. No ETA on this, although I am working on it quite a lot lately, so hopefully it will be soon.

kungfoomasta,thans for your reply.i think i must destroy a window that is not be used frequently and created when is used now. i hope v0.9.6. thank you!