Maniphest T76745

Pasting from older blend files into 2.90 always creats a "Tint" brush
Closed, ResolvedBUG

Assigned To
Campbell Barton (campbellbarton)
Authored By
Campbell Barton (campbellbarton)
May 14 2020, 2:02 PM
Tags
  • BF Blender
  • Pipeline, Assets & I/O
Subscribers
Campbell Barton (campbellbarton)
Sergey Sharybin (sergey)

Description

Based on the following steps from T76738: Assert failure undoing view layer creation.

Pasting older files into newer blender versions is adding a Tint brush.

In T76738#931299, @Sergey Sharybin (sergey) wrote:

Is the duplicate brush a root cause of the initial report?

Here are the steps to reproduce the duplicate brushes:

  1. Open Blender 2.80 --factory-startup
  2. Select everything (A in viewport, Cube, Camera, Lamp)
  3. Ctrl-C
  4. Open latest master --factory-startup
  5. Delete everything
  6. Ctrl-V
  7. for b in bpy.data.brushes: print(b.name) will show duplicate Tint brush

Note that adding data-blocks in versioning code isn't something we do (except for screen data), and I think it would be better to avoid it.

Related Objects

Mentioned In
T76738: Assert failure undoing view layer creation
Mentioned Here
rBfc4f2571ba29: GPencil: Remove creation of Tint brush in versioning code
T76738: Assert failure undoing view layer creation

Event Timeline

Campbell Barton (campbellbarton) created this task.May 14 2020, 2:02 PM
Brecht Van Lommel (brecht) added a project: BF Blender.May 14 2020, 2:55 PM
Germano Cavalcante (mano-wii) changed the task status from Needs Triage to Confirmed.May 14 2020, 9:45 PM
Germano Cavalcante (mano-wii) added a project: Pipeline, Assets & I/O.
Germano Cavalcante (mano-wii) changed the subtype of this task from "Report" to "Bug".
Campbell Barton (campbellbarton) closed this task as Resolved.May 15 2020, 4:36 AM
Campbell Barton (campbellbarton) claimed this task.

Resolved rBfc4f2571ba29e8f29e7f1d8a915f3a9e38229a28