2.81

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

Setting operator parameters features

When you make a button in a custom UI to call the operator with passing the necessary parameters to it, pay attention that only the parameters specified explicitly will be sent to the operator. Other operator parameters will remain with default values.

For example, we need to execute the “transform_apply” operator – applying object transformations with applying just the scale.

If we call the operator as follows:

But all transformation (scale, rotation, and position) will still be applied to the object.