Page MenuHome

Fix T81580: No doversion for Emission Strength
ClosedPublic

Authored by Dalai Felinto (dfelinto) on Oct 15 2020, 3:17 PM.

Details

Summary

The new parameter made so that previously keyed Alpha values were lost
and instead the new "Emission Strength" was keyed.

Issue introduced with the original commit of Emission Strength: rBb248ec97769f

Note: Files created since the issue (September 17) that keyframed the Emission Strength will have to fix their files manually.

Diff Detail

Repository
rB Blender
Branch
fix-T81850-doversion-emission-strength (branched from master)
Build Status
Buildable 10746
Build 10746: arc lint + arc unit

Event Timeline

Dalai Felinto (dfelinto) requested review of this revision.Oct 15 2020, 3:17 PM
Dalai Felinto (dfelinto) planned changes to this revision.Oct 15 2020, 3:22 PM

From review: use API

Note: will update the patch description now.

Update comments of new function

I should add that I tested with keyframe and drivers, not with NLA (not sure how to test with NLA). My test file:

Sybren A. Stüvel (sybren) requested changes to this revision.Oct 15 2020, 6:31 PM
Sybren A. Stüvel (sybren) added inline comments.
source/blender/blenkernel/BKE_animsys.h
155

End in period.

source/blender/blenkernel/intern/anim_data.c
1428–1430

These can be const

source/blender/blenloader/intern/versioning_290.c
254–255

Why are 18 and 19 the values to use?

This revision now requires changes to proceed.Oct 15 2020, 6:31 PM

From review: comments and cleanup

Final pass based on feedback (comment clarification)

  • Update: play safe and move all the channels past 18 one up

Reverting the for loop

  • Update: play safe and move all the channels past 18 one up

Bringing this back again based on review on blender.chat

This revision is now accepted and ready to land.Oct 15 2020, 7:57 PM