Blender Git Commit Log

Git Commits -> Revision ea1174b

Revision ea1174b by Antonio Vazquez (master)
October 10, 2019, 06:13 (GMT)
Annotations: Use flag to determine if the layer is a Ruler

Proposed fix for T70141.

Before, the ruler was using the name of the layer as key, but this is very weak because if the layer name changes, the layer gets an annotation layer.

Now, the layer is marked using a flag and now it's possible to rename it.

Reviewed By: dfelinto

Differential Revision:

Commit Details:

Full Hash: ea1174bde9edff7639b1b3de4989084987a29f1e
Parent Commit: 7e020e7
Lines Changed: +38, -4

4 Modified Paths:

/source/blender/blenloader/intern/versioning_280.c (+16, -0) (Diff)
/source/blender/editors/space_view3d/view3d_gizmo_ruler.c (+14, -4) (Diff)
/source/blender/makesdna/DNA_gpencil_types.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_gpencil.c (+6, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021