Fix #23857: game engine world colors were not color corrected yet,
[blender-staging.git] / source / gameengine / Converter / BL_BlenderDataConversion.cpp
index 521bc011b0992dbd96b9ab2e491a0d6f3bf75ae3..f9bca9a2cdd41f92dea44e324ba870c02c24a477 100644 (file)
@@ -2634,7 +2634,7 @@ void BL_ConvertBlenderObjects(struct Main* maggie,
        sumolist->Release();
 
        // convert world
-       KX_WorldInfo* worldinfo = new BlenderWorldInfo(blenderscene->world);
+       KX_WorldInfo* worldinfo = new BlenderWorldInfo(blenderscene, blenderscene->world);
        converter->RegisterWorldInfo(worldinfo);
        kxscene->SetWorldInfo(worldinfo);