[r96] newheight is not defined

Bugs will be moved here once resolved.

Post » Mon Jun 25, 2012 9:04 pm

Hey there

I got a js error saying
[code]Uncaught ReferenceError: newheight is not defined commonace.js:208[/code]
Going through the commonace.js, I found this:

[code]        acts.SetHeight = function (h)
        {
            if (this.height !== h)
            {
               this.height = newheight;
               this.set_bbox_changed();
            }
        };[/code]
I'm almost certain it should be instead:
[code]        acts.SetHeight = function (h)
        {
            if (this.height !== h)
            {
               this.height = h;
               this.set_bbox_changed();
            }
        };[/code]

After changing, the bug indeed disappeared into nothingness (:Yann2012-06-25 21:06:30
B
60
S
22
G
14
Posts: 1,479
Reputation: 16,346

Post » Tue Jun 26, 2012 4:32 am

Could this explain my bug im having I don't know java script but I see something about newhight
http://www.scirra.com/forum/r96-causing-bug_topic53802.html
B
27
S
11
G
1
Posts: 246
Reputation: 5,048

Post » Tue Jun 26, 2012 11:26 am

Thanks, fixed for next build.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,630


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 4 guests