glob2-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[glob2-devel] bug related to GUI


From: Nuage
Subject: [glob2-devel] bug related to GUI
Date: Fri, 25 Nov 2005 17:38:30 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051102

Exploring random map generation, I did notice that the

void NewMapScreen::onAction(Widget *source, Action action, int par1, int par2)

is never called when one of the:

Ratio waterRatio;
Ratio sandRatio;
Ratio grassRatio;

is used.

Line 265 of NewMapScreen.cpp; this is never executed:
        else if (action==RATIO_CHANGED)
        {
                //eRANDOM
                descriptor.waterRatio=waterRatio->get();
                descriptor.sandRatio=sandRatio->get();
                descriptor.grassRatio=grassRatio->get();

                //eISLANDS
                descriptor.islandsSize=islandsSize->get();
        }

Does someone already know why? NCT can you check if this is a NewMapScreen bug
or a GAG bug ?

thx
Luc-Olivier




reply via email to

[Prev in Thread] Current Thread [Next in Thread]