Light: Ran Black Formatting

This commit is contained in:
Chirag Singh
2025-11-07 22:44:59 +05:30
parent dcd87260e7
commit f6e23c0462
2 changed files with 2 additions and 3 deletions
@@ -208,11 +208,10 @@ class PrepareRadianceScene(bpy.types.Operator):
print(f"Camera position: {camera_position}")
print(f"Camera direction: {camera_direction}")
# Build datetime for Radiance gensky
# Note: sun_pos_props and sun_props are synchronized by update_sun_path()
dt = datetime(sun_pos_props.year, sun_props.month, sun_props.day, sun_props.hour, sun_props.minute)
print(f"Sun position data for Radiance gensky:")
print(f" DateTime: {dt}")
print(f" Latitude: {sun_props.latitude}°")
+1 -1
View File
@@ -179,7 +179,7 @@ def update_sun_path(self: "BIMSolarProperties", context: Union[bpy.types.Context
)
sun_vector = sun_position.sun_calc.get_sun_vector(azimuth, elevation) * sun_props.sun_distance
props.sun_position = sun_vector
# Update Blender viewport light direction for shadow visualization
# This coordinate transformation converts from sun_position addon's coordinate system
# to Blender's display.light_direction coordinate system