Skip to content

Commit

Permalink
Addressing comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sauraen committed Jul 25, 2024
1 parent ef5c36f commit 1bf25c9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,13 @@ def upgrade_changed_props():
scene.gameEditorMode = "Homebrew"
del scene["decomp_compatible"]

settings = scene.fast64.renderSettings
if hasattr(settings, "lightColor"):
settings.light0Color = settings.lightColor
del settings.lightColor
settings.light0Direction = settings.lightDirection
del settings.lightDirection


def upgrade_scene_props_node():
"""update f3d materials with SceneProperties node"""
Expand Down
2 changes: 1 addition & 1 deletion fast64_internal/render_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ class Fast64RenderSettings_Properties(bpy.types.PropertyGroup):
size=4,
min=0,
max=1,
default=(0, 0, 1, 1),
default=(0, 0, 0, 1),
update=on_update_render_preview_nodes,
)
light1Direction: bpy.props.FloatVectorProperty(
Expand Down

0 comments on commit 1bf25c9

Please sign in to comment.