mirror of
https://projects.blender.org/blender/blender.git
synced 2025-01-22 07:22:12 -05:00
The official Blender project repository.
baffd174c8
In Sculpt, Vertex Paint, and Weight Paint, the operator used while painting (`SCULPT_OT_brush_stroke`, `PAINT_OT_vertex_paint`, and `PAINT_OT_weight_paint`) can currently be executed in python as they define `exec` methods. However, each of them has a implicit dependency on the `OperatorStrokeElement` struct containing a `location` corresponding to the object space location of the stroke daub. This limits the usefulness of the operator in non-interactive situations, as determining the actual location of a stroke on a 3D object requires access to the Paint BVH to perform a raycast and project the mouse from 2D region space into object space. To allow users to define a stroke in region space coordinates, this commit adds a new parameter to the associated operators, `reproject_stroke` which indicates whether or not the current `location` data should be discarded and replaced with newly calculated positions. Ref: #132960 Pull Request: https://projects.blender.org/blender/blender/pulls/132974 |
||
---|---|---|
.gitea | ||
.github | ||
build_files | ||
doc | ||
extern | ||
intern | ||
lib | ||
locale | ||
release | ||
scripts | ||
source | ||
tests | ||
tools | ||
.clang-format | ||
.clang-tidy | ||
.editorconfig | ||
.git-blame-ignore-revs | ||
.gitignore | ||
.gitmodules | ||
AUTHORS | ||
CMakeLists.txt | ||
COPYING | ||
GNUmakefile | ||
make.bat | ||
pyproject.toml | ||
README.md |
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.