Upgrading to .7.2 from .6.2b issue

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

AlexThomas
Just popping in
Just popping in
Posts: 17
Joined: Mon Sep 28, 2009 17:28

Upgrading to .7.2 from .6.2b issue

Postby AlexThomas » Thu Jan 13, 2011 23:39

Hello all,
Hopefully this is a quick question. I'm sure I can find a workaround for this, but as the method is seemingly missing i figured I'd ask here if there was a "right way" to resolve this issue.

There used to be an overloaded WindowManager::loadWindowLayout as such:

Code: Select all

Window* WindowManager::loadWindowLayout( const String& filename, bool generateRandomPrefix )
{
    //We really just use the bool to get rid of ambiguity with the other loadWindowLayout. There is no difference between
    //calling this loadWindowLayout and setting GRP to false, and calling the other one with no argument
    if(generateRandomPrefix)
        return loadWindowLayout(filename,generateUniqueWindowPrefix());

        return loadWindowLayout(filename);
}


The question is, where did it go? I don't see anything in the patch notes after a few searches. Is there some easy way of doing this? Admittedly, I am only using this functionality in one place in my code so it's not a huge deal. Just curious if I'm missing something. I'm not actually sure

Thanks,
AT

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: Upgrading to .7.2 from .6.2b issue

Postby Kulik » Thu Jan 13, 2011 23:48

According to the porting tips (http://www.cegui.org.uk/wiki/index.php/Changes_and_Porting_Tips_for_0.7.0), this has indeed been removed. In my opinion it is filthy :-)

I think you can work this around. I use prefixes and I always have something to put as a prefix that is bound to be unique.

btw: Why are you upgrading to 0.7.2 and not 0.7.5?

AlexThomas
Just popping in
Just popping in
Posts: 17
Joined: Mon Sep 28, 2009 17:28

Re: Upgrading to .7.2 from .6.2b issue

Postby AlexThomas » Fri Jan 14, 2011 14:50

Thanks Kulik.

No good reason for moving to .7.2 instead of .7.5. I think .7.2 is what comes with the latest Delta3d and the team lead, who does the builds for the team, just used that. I think it's a matter of simplicity since the combination of upgrading to major releases of Delta3d, osg, osgEarth, and CEGUI provided enough issues for us without needing to complicate things unnecessarily.

I'll probably push for the latest of CEGUI when I finish sorting out all the .6->.7 mess :). Funny, so many of the things I was previously working around are now fixed and thus my workarounds are yielding all kinds of fun results.

Take care,

AT


Return to “Help”

Who is online

Users browsing this forum: No registered users and 2 guests