Blender Git Loki

Git Commits -> Revision a6724ea

October 18, 2019, 11:35 (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: https://developer.blender.org/D6028

Commit Details:

Full Hash: a6724ea037c5c59b8ef4e1cd4e288423dd460c06
Parent Commit: 936e0f5
Committed By: YimingWu
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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021