Page MenuHome

Cleanup: Remove scene frame macros (`CFRA` et al.)
ClosedPublic

Authored by Julian Eisel (Severin) on Jun 28 2022, 3:14 PM.
Tags
Tokens
"Love" token, awarded by sergey."Love" token, awarded by HooglyBoogly."Manufacturing Defect?" token, awarded by JacquesLucke.

Details

Summary

Removes the following macros for scene/render frame values:

  • CFRA
  • SUBFRA
  • SFRA
  • EFRA

These macros don't add much, other than saving a few characters when typing. It's not immediately clear what they refer to, they just hide what they actually access. Just be explicit and clear about that.
Plus these macros gave read and write access to the variables, so eyesores like this would be done:

CFRA = some_frame_nbr;

Diff Detail

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

Event Timeline

Julian Eisel (Severin) requested review of this revision.Jun 28 2022, 3:14 PM
Julian Eisel (Severin) created this revision.
Julian Eisel (Severin) edited the summary of this revision. (Show Details)Jun 28 2022, 3:18 PM

From a quick reading didn't spot obvious mistakes.

This revision is now accepted and ready to land.Jun 30 2022, 4:57 PM