Falk David ff240d9117 Fix #138478: Node Tools: Incorrect Active layer index outside Edit Mode
The "Active Element" node would return early if the mode was
not `OB_MODE_EDIT`.

For Grease Pencil, we want to be able to  query the active layer index
from any mode.

This changes the logic to only return early for the `Point`, `Edge`,
and `Face` element if the mode is not edit mode.

Pull Request: https://projects.blender.org/blender/blender/pulls/138491
2025-05-06 15:40:40 +02:00
2025-05-05 17:18:42 +02:00
2025-05-06 12:39:20 +02:00
2023-12-08 13:28:13 +11:00
2025-05-05 16:24:46 +02:00
2025-03-12 21:55:59 +11:00

Blender

Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline—modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.

Blender screenshot

Project Pages

Development

License

Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different but compatible license.

See blender.org/about/license for details.

Description
No description provided
Readme 841 MiB
Languages
C++ 78%
Python 14.9%
C 2.9%
GLSL 1.9%
CMake 1.2%
Other 0.9%