You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Fix 3D sky update performance regression
This commit is contained in:
@@ -1172,7 +1172,7 @@ void RendererSceneSkyRD::setup(RendererSceneEnvironmentRD *p_env, RID p_render_b
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Check whether the directional_light_buffer changes
|
// Check whether the directional_light_buffer changes
|
||||||
bool light_data_dirty = true;
|
bool light_data_dirty = false;
|
||||||
|
|
||||||
// Light buffer is dirty if we have fewer or more lights
|
// Light buffer is dirty if we have fewer or more lights
|
||||||
// If we have fewer lights, make sure that old lights are disabled
|
// If we have fewer lights, make sure that old lights are disabled
|
||||||
|
|||||||
Reference in New Issue
Block a user