... Slider::getMaxValue() returns the current value.
Everything works perfect in Debug mode. I'm using the latest stable SDK release 0.4.1 on windows.
Also, I'm calling the functions from Lua script if that makes a difference.
Slider::getCurrentValue() returns junk in release mode but..
Moderators: CEGUI MVP, CEGUI Team
It did return the correct values after I rebuilt it. Everything's working perfectly now.
I have no idea what was going but it seemed like one of those wierd compiler errors where a clean rebuild all fixes it.
Just to recap:
- visual studio 8
- SDK bin release of cegui 0.4.1
- SDK bin release of Ogre dagon
- I was trying to get the slider values from inside lua script
- worked in debug mode, not in release mode
I have no idea what was going but it seemed like one of those wierd compiler errors where a clean rebuild all fixes it.
Just to recap:
- visual studio 8
- SDK bin release of cegui 0.4.1
- SDK bin release of Ogre dagon
- I was trying to get the slider values from inside lua script
- worked in debug mode, not in release mode
Who is online
Users browsing this forum: No registered users and 26 guests