Skip to content

Commit

Permalink
temp disable some code
Browse files Browse the repository at this point in the history
  • Loading branch information
e-rk committed Mar 17, 2024
1 parent 50ea62a commit ed0d843
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions speedtools/blender/io_nfs4_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down

0 comments on commit ed0d843

Please sign in to comment.