Page MenuHome

Use aliased names for file versioning checks
Open, NormalPublic

Description

System Information
Operating system: Linux-5.0.13-arch1-1-ARCH-x86_64-with-arch 64 Bits
Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 418.74

Blender Version
Broken: version: 2.80 (sub 69), branch: blender2.7, commit date: 2019-05-17 21:54, hash: rB3b8ae2c08f5c
Worked: (optional)

Short description of error
The new angle setting of the Sun light type is not saved with the blend file. It always defaults back to 11.4°.

Exact steps for others to reproduce the error

  • Add Sun lamp
  • change the angle
  • save the file and reopen it.

Event Timeline

Brecht Van Lommel (brecht) triaged this task as Confirmed, Medium priority.

@Campbell Barton (campbellbarton), DNA_struct_elem_find as used in versioning seems to need "Lamp" rather than "Light". Can we change that? There's other old Light versioning code that assumes this.

Brecht Van Lommel (brecht) renamed this task from Change of Sun Angle is not saved. to File versioning not working in some cases due to name aliasing.May 18 2019, 12:47 PM
Brecht Van Lommel (brecht) reopened this task as Open.
Brecht Van Lommel (brecht) raised the priority of this task from Confirmed, Medium to Confirmed, High.Jun 17 2019, 12:24 PM

Added function calls for aliased name lookups rB73f7ed7ffadcae3795910155d52453650d4e97a4

We still need to make use of these in versioning code though so new code that's added doesn't trip up on the same issue.

Campbell Barton (campbellbarton) renamed this task from File versioning not working in some cases due to name aliasing to Use aliased names for file versioning checks.
Campbell Barton (campbellbarton) lowered the priority of this task from Confirmed, High to Normal.

Set as TODO since the internal API's to do aliased checks are done and there is no need to make this change for 2.80 release.