Maniphest T56161

DNA field renaming support
Closed, ResolvedTO DO

Assigned To
Campbell Barton (campbellbarton)
Authored By
Campbell Barton (campbellbarton)
Jul 31 2018, 4:10 AM
Tags
  • BF Blender
Subscribers
Bastien Montagne (mont29)
Brecht Van Lommel (brecht)
Campbell Barton (campbellbarton)
Dalai Felinto (dfelinto)
Sergey Sharybin (sergey)

Description

Motivation:

Over time names of DNA fields can become misleading, eg:

  • Object.size (should have been called scale)
  • Camera.YF_dofdist (refers to Yafray), deprecated ray-tracer.

It also means we can't rename fields that don't fit well with current conventions.

Description:

This project involves loading old names into new struct members fields,
this could be done by editing the SDNA of old files, mapping values to the new names.

We might also add support for renaming structs, however this is less important.

Estimated Time: 2-5 days

Revisions and Commits

rBS Blender Staging
Closed
rB Blender
Abandoned

Related Objects

StatusSubtypeAssignedTask
ConfirmedTO DONone
ConfirmedTO DOCampbell Barton (campbellbarton)
ResolvedTO DOCampbell Barton (campbellbarton)

Event Timeline

Campbell Barton (campbellbarton) lowered the priority of this task from 90 to Normal.Jul 31 2018, 4:10 AM
Campbell Barton (campbellbarton) created this task.
Campbell Barton (campbellbarton) edited a custom field.Aug 3 2018, 4:31 AM
Campbell Barton (campbellbarton) mentioned this in D4330: DNA renaming support.Feb 10 2019, 11:58 PM
Campbell Barton (campbellbarton) added a revision: D4330: DNA renaming support.
Campbell Barton (campbellbarton) added a commit: rB783f3376eebe: Reviewers: brecht mont29 sergey dflinto.Feb 12 2019, 3:56 PM
Campbell Barton (campbellbarton) added a revision: D4342: DNA renaming support (forward compatible).
Campbell Barton (campbellbarton) removed a commit: rB783f3376eebe: Reviewers: brecht mont29 sergey dflinto.
Campbell Barton (campbellbarton) changed the task status from Unknown Status to Resolved.Feb 18 2019, 2:26 AM

Committed both (D4330 & D4342), closing.