Objects pointers brokes if undo/redo operation is used

In Blender 2.8x the undo/redo operation system (ctrl+z / ctrl+shift+z) has been completely rebuilt. One of the results of this API change is when the undo operation is performed, all objects in the scene are fully recreated – the current object is destroyed, and a completely new object is created instead. Pointers to the old objects (before the undo operation) now point to invalid objects that can no longer be used.

Continue reading “Objects pointers brokes if undo/redo operation is used”

Add-ons reload through the F8 key shot

Add-ons are not reloaded by pressing the F8 key in the Preferences – Add-ons window in Blender 2.83. The add-ons reload function call with this key shot was no longer tied starting with Blender 2.80.

To bind the add-ons reloading to the F8 key shot again:

  1. Open the “Preferences” window
  2. Open the the “Keymap” section
  3. Expand the “Screen – Screen (Global)” branch
  4. Press the “Add new” button at the bottom of the list
  5. In the operator identifier field, type “script.reload”
  6. Click on the keyboard field and press F8 to bind this key to the specified operator call
  7. Press the “Save Preferences” button to save new settings

Where did the code completion in the python console in Blender 2.82 disappear

In Blender 2.81 and earlier, you could see the possible code completion by pressing “ctrl + space” in the python console. This key-shot shows nothing in Blender 2.82.

Code autocompletion in the python console was not removed in 2.82, it was moved to the “tab” key.

User interface elements alignment by columns

Interface elements in custom user panels often do not correspond to each other in size. As a result – the overall panel layout does not look beautiful. As an example, let’s create a custom panel and place an operator button and an input text field on it.

Can we make it more accurate?

Continue reading “User interface elements alignment by columns”

How to open folders by a single click in Blender 2.8x

When opening files through the “File Browser” in Blender 2.8x, directories (folders) are opened with mouse double-click. This change has been made for better compatibility with the standards (directories are opened by double-clicking in most file managers, for example, in the Windows Explorer), but this is not always convenient.

To make the folders opening  by a single click:

Continue reading “How to open folders by a single click in Blender 2.8x”

Some Blender tuning

A few settings that can make your work in Blender a little bit convenient.

Viewport window

Remove the default cube. Each time you open a new scene, you delete it. Let’s do it once.

Remove the lamp light source. In most scenes, you will adjust the lighting in a completely new way.

Put the camera in a separate collection and hide it from the viewport (click on the “eye” in the outliner window), now the camera does not interfere with the scene.

Continue reading “Some Blender tuning”

How to get all collectons list

To get a list of collections with all internal collections, we can use the following function:

Continue reading “How to get all collectons list”

Global materials override for the Blender EEVEE render engine

Some times we need to make a render of the scene with the single material, for example, for clay or wireframe renders. Blender has the global materials override option for the Cycles render engine in the “View Layer Properties” – “Override” but not for the EEVEE render engine.

Quick materials override for the EEVEE rendering engine can be made with a small script, as shown in the following video:

Script and video by Vitaly Sokol.

Continue reading “Global materials override for the Blender EEVEE render engine”

How to enable gradient background in the viewport window

To enable gradient background in the “3D View” window you need:

  • open the “Preferences” window
  • press the “Themes” button
  • in the “3D View” – “Theme Space” -” Gradient Colors” section on the “Use Gradient” checkbox
  • and tune the gradient colors “Gradient HighOff” (top color) and “Gradient Low” (bottom color)
  • press the “Save Preferences” button to save changes