Blender Git Commit Log

All Blender Git commits.

Page: 21 / 8462

Revision 43875e8 by Hans Goudey (master)
December 15, 2021, 20:27 (GMT)
Cleanup: Remove no-op node preview function calls

This patch removes no-op node editor preview code (`PR_NODE_RENDER`)
and most calls to `BKE_node_preview_init_tree`. The only remaining call is
in the compositor.

- Shader nodes previews don't seem to do anything.
- In-node previews for the texture node system doesn't work either.

This is a first step to refactoring to remove `preview_xsize`,
`preview_ysize`, and `prvr` from nodes in DNA, aligned with
the general goal of removing runtime/derived data from data
structs.

Differential Revision: https://developer.blender.org/D13578
December 15, 2021, 19:47 (GMT)
Fix T93995: Cycles camera motion blur not working in right stereo view

Thanks to Michael (michael64) for identifying the solution.

Ref D13567
December 15, 2021, 17:38 (GMT)
Merge branch 'master' into asset-greasepencil

Conflicts:
source/blender/blenkernel/intern/icons.cc
Revision 11be151 by Hans Goudey (master)
December 15, 2021, 15:51 (GMT)
Node Editor: Link Drag Search Menu

This commit adds a search menu when links are dragged above empty
space. When releasing the drag, a menu displays all compatible
sockets with the source link. The "main" sockets (usually the first)
are weighted above other sockets in the search, so they appear first
when you type the name of the node.

A few special operators for creating a reroute or a group input node
are also added to the search.

Translation is started after choosing a node so it can be placed
quickly, since users would likely adjust the position after anyway.

A small "+" is displayed next to the cursor to give a hint about this.

Further improvements are possible after this first iteration:
- Support custom node trees.
- Better drawing of items in the search menu.
- Potential tweaks to filtering of items, depending on user feedback.

Thanks to Juanfran Matheu for developing an initial patch.

Differential Revision: https://developer.blender.org/D8286
Revision 474adc6 by Hans Goudey (master)
December 15, 2021, 15:34 (GMT)
Refactor: Simplify spreadsheet handling of cell values

Previously we used a `CellValue` class to hold the data for a cell,
and called a function to fill it whenever necessary. This is an
unnecessary complication when we have virtual generic arrays
and most data is already easily accessible that way anyway.
This patch removes `CellValue` and uses `fn::GVArray` to provide
access to data instead.

In the future, if rows have different types within a single column,
we can use a `GVArray` of `blender::Any` to interface with the drawing.

Along with that, the use of virtual arrays made it easy to do a
few other cleanups:
- Use selection domain interpolations from rB5841f8656d95
for the mesh selection filter.
- Change the row filter to only calculate for necessary indices.

Differential Revision: https://developer.blender.org/D13478
December 15, 2021, 14:46 (GMT)
Fix T93975: add more nested instance limit checks

Differential Revision: https://developer.blender.org/D13585
December 15, 2021, 14:46 (GMT)
Initialize the fourth and final instance variable of MemoryProxy

The constructor of MemoryProxy initializes 3 of 4 instances variables.
If a MemoryProxy is constructed and MemoryProxy::free is called
on this instance, buffer_ is undefined and 'delete buffer_;' causes errors.

Although this misuse pattern does not exist in the current codebase
it already tripped up the Address Sanitizer on various occasions
while debugging unrelated problems.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D13569
December 15, 2021, 14:37 (GMT)
Version bump: 2.93.8-rc
December 15, 2021, 14:16 (GMT)
Merge branch 'master' into temp-gpu-image-engine
December 15, 2021, 14:04 (GMT)
Geometry Nodes: Add Selection to Attribute Statistics

This adds a bool field selection input to the Attribute Statistics node.
This is useful for running calculations on a subset of the input field data
rather that then whole set.

Differential Revision: https://developer.blender.org/D13520
December 15, 2021, 13:37 (GMT)
Fix T94082: Curve to point empty evaluated NURBS crash

This is basically the same as rBee4ed99866fbb7ab04, the fix is
simply to check if the spline has evaluated points when deciding
the offsets into the result points array.
December 15, 2021, 13:37 (GMT)
Cleanup: Use pixel in stead of texels in naming.
December 15, 2021, 13:37 (GMT)
Fix compile errors on windows.
December 15, 2021, 13:37 (GMT)
Fix meta-ball bound-box calculation reading past buffer bounds

This broke "test_undo.view3d_multi_mode_select" test in
"lib/tests/ui_simulate" and is likely exposed by recent changes to
bounding box calculation.

The missing check for DL_INDEX4 dates back to code from 2002 which
intended to check this but was checking for DL_INDEX3 twice
which got removed as part of a cleaned up.

This could be hidden from memory checking tools as meta-balls
over-allocate vertex arrays.
December 15, 2021, 13:37 (GMT)
MetaBall: optimize memory allocation for meta-ball tessellation

Double the allocation size when the limit is reached instead of
increasing by a fixed number.

Also re-allocate to the exact size once complete instead of over
allocating. This gives a minor speedup in my tests ~19% faster
tessellation for ~1million faces.
December 15, 2021, 13:37 (GMT)
Cleanup: unused variable warning
December 15, 2021, 13:37 (GMT)
Cleanup: remove disabled code

Originally pointcache wasn't supported when the file wasn't saved.
Remove commented code as this hasn't been the case for a long time.
December 15, 2021, 13:37 (GMT)
Cleanup: resolve parameter mis-matches in doc-strings

Renamed or removed parameters which no longer exist.
December 15, 2021, 13:37 (GMT)
Cleanup: reorganize doxygen modules

- Nest compositor pages under the compositor module
- Nest GUI, DNA/RNA & externformats modules under Blender.
- Remove modules from intern which no longer exist.
- Add intern modules (atomic, eigen, glew-mx, libc_compat, locale,
numaapi, rigidbody, sky, utfconv).
- Use 'intern_' prefix for intern modules since some of the modules
use generic terms such as locale & atomic.
December 15, 2021, 13:37 (GMT)
Cleanup: use typed enum for wmDrag.flags

Also use 'e' prefix for enum type name.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021