Page MenuHome

Freestyle old matrix multiplication syntax
Closed, ResolvedPublic

Description

Blender Version
Broken: 2.80 and later
Worked: 2.79

Short description of error
The [[ https://developer.blender.org/diffusion/B/browse/master/release/scripts/startup/bl_operators/freestyle.py | freestyle.py ]] still used the old matrix multiplication syntax for the Distance from Object and Distance from Camera modifiers.

Exact steps for others to reproduce the error

In order to reproduce the issue for the Distance from Object modifier:

  1. Enable Freestyle in the Render Properties
  2. Make sure that there are two objects in the scene
  3. Select an object, switch to Edit Mode and select some vertices
  4. In the View Layer Properties navigate to the Freestyle Line Style and switch to the Color tab
  5. Add a Distance from Object modifier
  6. As target select any object other than itself
  7. Press the Fill Range by Selection button

In order to reproduce the issue for the Distance from Camera modifier:

  1. Enable Freestyle in the Render Properties
  2. Select an object, switch to Edit Mode and select some vertices
  3. In the View Layer Properties navigate to the Freestyle Line Style and switch to the Color tab
  4. Add a Distance from Camera modifier
  5. Press the Fill Range by Selection button