2.80

Class naming conventions in Blender 2.8 Python API

In Blender 2.8 API the requirements for the class and their identifiers naming are becoming tougher. The class name must match the following convention:

Where the {SEPARATOR} is two letters denoting the class belonging to a certain type (from which type the class is inherited):

  • HT – Header
  • MT – Menu
  • OT – Operator
  • PT – Panel
  • UL – UI list

The class identifier “bl_idname” mast match the class name.

How to return the familiar selection mode from Blender 2.7 in Blender 2.8

In Blender 2.8 the selection mode has been changed. The “select all” command is still mapped to pressing the “a” key, but the “deselect all” command in Blender 2.8 is now mapped to a double-click of the “a” key or to the “alt + a” key combination. However, it is easy to return the familiar selection mode from Blender 2.7 – selecting and deselecting all by pressing one “a” key.

To do this, in the “Preferences” window in the “Keymap” section type “object.select” in the search field. In the search results in the “Object mode” section in the line with “a” key snapping set the “Toggle” value to the “Action” parameter.

This will return the familiar selection in object mode.

How to resize panels in Blender UI

In order to resize the T- or N-panel of the Blender UI, you just need to hold the edge of the panel with the mouse and drag it left or right. However, in this case, you can only change the size of the panel itself, but not the interface elements on it.

To change elements size and the font size of the panel, you need:

  • hover cursor on the panel
  • hold together the “Ctrl” keyboard button and the middle mouse button (scroll wheel)
  • move the mouse up or down

This works not only for the side panels but also for all the “Properties” window.

To return changed UI size back – press the “Home” key.