Blender Git Loki

Git Commits -> Revision 565e7c8

Revision 565e7c8 by Joshua Leung (master)
October 8, 2012, 05:57 (GMT)
Display enum descriptions in tooltips for operators using a "type" or "mode"
property

Changes:
This commit adds a second line to the tooltips (below the generic operator
description) showing the appropriate description for each enum option. This
brings it more into line enum properties in Blender which also show this sort of
information.

Rationale:
Operators such as Snap and Mirror in the Action and Graph Editors use an enum to
control their behaviour (respectively, "how to snap" or "what to use as the
mirror line"). In the menus, these options are displayed using a submenu, but
hovering over each of these items for more information from a tooltip only shows
the (relatively unhelpful) generic operator tooltip/description.

Another area where these descriptions are useful is for Keying Sets, where it's
now possible to see the descriptions for what each Keying Set
does/affects/requires. Again, this is more helpful than just the generic
tooltip, which would be something like "Insert keyframes using a Keying Set".

Commit Details:

Full Hash: 565e7c8e3cbb4aee0c1b8f17b43f63055c4384f7
SVN Revision: 51164
Parent Commit: 718dea8
Lines Changed: +69, -26

3 Modified Paths:

/source/blender/editors/interface/interface.c (+32, -3) (Diff)
/source/blender/editors/space_action/action_edit.c (+15, -12) (Diff)
/source/blender/editors/space_graph/graph_edit.c (+22, -11) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021