Tips for managing Gizmos in 2.80 3dview

2.80 lets you enable handy Scale, Rotate and Transform gizmos that track the current selection. These can be very convenient, but they can also get in your way while working. This post will show you a couple of ways of solving this problem.

First, to enable the Active Object SRT gizmos, look in the Gizmo menu drop-down in the 3dview. Here are the relevant check-boxes:

image

which will show the gizmos on your active object/selection:

image

But what if you want to click on something behind that huge pile of gizmos while doing fine detail work, etc.?

Solution 1 - Enable Drag mode for Gizmo activation rather than Click

This applies only to the default Blender 2.80 keymap (not the 2.79 (which doesn’t need it) or Industry Compatible keymaps, unfortunately). In the global keymap options in Preferences->Keymap at the top, you’ll find an Activate Gizmo setting that defaults to Press. In this mode, you can’t click through the gizmos because they will capture the click and activate immediately which makes the gizmos very responsive.

But you can switch to Drag activation mode which will pass through simple clicks for selection, etc. This requires that you drag a small distance on the gizmo before it will activate (that distance can be set elsewhere in Preferences I believe) so they’re a bit less responsive, but you can ignore their existence when you just want to select something underneath them.

image

Solution 2 - Map a button to temporarily hide or show the gizmos while you hold it.

Blender’s user interface has almost unlimited customization capabilities, and here we can map one of our extra mouse buttons to show or hide the gizmos while you hold it down.

What we want is to make a button that performs one action (hide or show the gizmos) when it’s pressed, and which reverses that when you release it. Then you can simply hold the button down when you want to see (or hide) the gizmos, perform your operation, and let go of the button.

In my case, Mouse5 is a button on the left side of my mouse right under my thumb and it works very well for this. You might find a different one works better for you.

This is a bit more involved to set up because we have to create a couple of custom keybinds, but it’s still pretty simple. I recommend turning off Preferences auto-save while you’re messing with it, and then you can always just quit and restart Blender in case you utterly destroy your keymap :slight_smile: Once you’re happy with how it works you can turn auto-save back on or manually click the Save Preferences button:

image

To get started, open the Keymap preferences and find the 3dview, 3dview Global section:

image

Then scroll down to the bottom of the list of keymaps in that section, click the + Add New button, and expand the new “none” entry that gets created. It should look like this:

image

Now we want to edit the parameters as shown below, then click the + Add New button again and then set it up so the two new keymaps look like this:

image

In the identifier box (the first text field) you want to enter wm.context_set_boolean and then hit tab which should update the parameters so in the Context Attributes parameter box you can then enter space_data.show_gizmo. Change the Keyboard option to Mouse, set the button you want, and in the first key binding set it to Press and in the second one set it to Release.

If you want the button to show the gizmos while you hold it then check the Value box in the Press keymap and uncheck it in the Release keymap. If you want the button to hide the gizmos instead, then reverse the two Value checkboxes.

Then just go back to the 3dview and give it a try. You’ll need to have whatever combination of object mode gizmos enabled that you want to see (as in the first image in this post) and the way we have this set up it’s going to hide and show ALL “gizmos” which includes the other things in the Gizmo configuration drop-down like the navigation widgets in the upper right 3dview corner, etc. I haven’t found a simple way to get it to just affect the three active object gizmos without additional scripting etc.

I hope this is helpful to someone!

6 Likes

@Zoot Very informative, keeps going on…

Epic post…