Page MenuHome

Remove deprecated and long unused members of struct Light
ClosedPublic

Authored by Germano Cavalcante (mano-wii) on Dec 21 2022, 2:59 PM.

Details

Summary

The members soft, bleedbias, bleedexp and contact_spread were
deprecated in rBd8aaf25c23fa, and, with the exception of soft,
bleedexp and contact_spread, are no longer used.

soft is only used by Collada as an extra value for exporting and
importing Blender files in collada.

bleedexp and contact_spread are only used in versioning to
initialize a default value.


I'm not sure how backward compatibility will work since these values will no longer be found via DNA_struct_elem_find. But it's not good practice to load new version files into old versions of Blender anyway.

(Patch created in response to D16669#454016)

Diff Detail

Repository
rB Blender
Branch
master
Build Status
Buildable 25120
Build 25120: arc lint + arc unit

Event Timeline

Germano Cavalcante (mano-wii) requested review of this revision.Dec 21 2022, 2:59 PM
Germano Cavalcante (mano-wii) created this revision.
This revision is now accepted and ready to land.Jan 4 2023, 1:36 PM
This revision now requires review to proceed.Jan 4 2023, 1:36 PM
This revision is now accepted and ready to land.Jan 4 2023, 2:52 PM