Blender Git Loki

Git Commits -> Revision 355d129

Revision 355d129 by Campbell Barton (master)
May 27, 2020, 06:47 (GMT)
Gizmo: lazy initialize snap context

ED_gizmotypes_snap_3d_context_get could have returned NULL,
rename _get(..) to _ensure(..) and initialize the snap context
in this function.

Commit Details:

Full Hash: 355d1299654aa9861318df500e4d532c612a1cb9
Parent Commit: 1f7a791
Lines Changed: +24, -12

3 Modified Paths:

/source/blender/editors/gizmo_library/gizmo_types/snap3d_gizmo.c (+14, -8) (Diff)
/source/blender/editors/include/ED_gizmo_library.h (+4, -1) (Diff)
/source/blender/editors/space_view3d/view3d_gizmo_ruler.c (+6, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021