From ed0d8430297617986a0a573d949951f403d7fe42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Ku=C5=BAnia?= Date: Sat, 27 Jan 2024 02:15:44 +0100 Subject: [PATCH] temp disable some code --- speedtools/blender/io_nfs4_import.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/speedtools/blender/io_nfs4_import.py b/speedtools/blender/io_nfs4_import.py index 58cb5c5..41a0866 100644 --- a/speedtools/blender/io_nfs4_import.py +++ b/speedtools/blender/io_nfs4_import.py @@ -387,8 +387,8 @@ def import_track( bpy.context.scene["SPT_waypoints"] = waypoint_metadata if import_ambient: ambient_color = track.ambient_color - bpy.context.scene.world.use_nodes = False - bpy.context.scene.world.color = ambient_color.rgb_float + #bpy.context.scene.world.use_nodes = False + #bpy.context.scene.world.color = ambient_color.rgb_float red, green, blue = ambient_color.rgb_float bpy.context.scene["SPT_ambient"] = {"red": red, "green": green, "blue": blue}