Blender Git Loki

Git Commits -> Revision 07d4580

Revision 07d4580 by Campbell Barton (master)
October 2, 2018, 07:03 (GMT)
Gizmo: support for gizmo-group properties

This allows gizmo groups to store properties in the tool.
This makes sense for gizmo options which only control gizmo display and
don't control operator execution.

Unlike similar kinds of properties,
this isn't accessible via the gizmo-group-type instance.

For now the it's only stored in the workspace tool as can be done for
operator properties, so each instance doesn't have different settings
which would be confusing from a user perspective and complicate access
from the top-bar.

Later we could add gizmo-group properties if needed.

Commit Details:

Full Hash: 07d4580f644577ebbd49f7d9a2bd8a81561cc099
Parent Commit: dce1229
Lines Changed: +80, -15

7 Modified Paths:

/source/blender/makesrna/intern/rna_wm_gizmo.c (+34, -0) (Diff)
/source/blender/makesrna/intern/rna_workspace_api.c (+27, -0) (Diff)
/source/blender/makesrna/RNA_access.h (+1, -0) (Diff)
/source/blender/python/intern/bpy_gizmo_wrap.c (+3, -10) (Diff)
/source/blender/windowmanager/gizmo/intern/wm_gizmo_group_type.c (+9, -1) (Diff)
/source/blender/windowmanager/gizmo/WM_gizmo_types.h (+4, -4) (Diff)
/source/blender/windowmanager/WM_toolsystem.h (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021