Problem with new World API

Hi! I downloaded the lastest Blender’s version from buildbot. I want to test the new “World API”.

I just took the example from API:

# Set the mist color to red.

import bge

sce = bge.logic.getCurrentScene() = [1.0, 0.0, 0.0]

But I get an error message:

Python script error - object ‘Cube’, controller ‘Python’:Traceback (most recent call last):
File “Text”, line 6, in <module>
AttributeError: ‘KX_WorldInfo’ object has no attribute ‘mist_color’

Same thing for background_color. The world API changes are not already merged to the trunk (EDIT: Animations work however)? Thanks!

(OS: Windows 8.1 64, last Blender 64)

Tristan has clanged the API of my patch to camelCase. = [1.0, 0.0, 0.0]

Ok thanks very much!