411d4204f604d6822ffa863fe35d3815370e8329
This adds a simple `compute_context_for_edittree` function that returns the "active" compute context for the given node editor. This is used in various places, but previously one had to construct the compute context in multiple steps (first find the root context (modifier/operator), then handle the tree path). Since the edittree already has a specific active context, there should be an easy way to retrieve that. This also adds a few extra check that avoid redundant work that was done before. Pull Request: https://projects.blender.org/blender/blender/pulls/137525
…
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.
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
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
