Files
test2/source
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
..