Blender Git Commits

Blender Git "master" branch commits.

Page: 18 / 5574

December 9, 2021, 10:09 (GMT)
Cleanup: move public doc-strings into headers for 'freestyle'

Ref T92709
December 9, 2021, 09:58 (GMT)
Cleanup: move public doc-strings into headers for 'nodes/geometry'

Ref T92709
December 9, 2021, 09:34 (GMT)
Cleanup: move public doc-strings into headers for 'io/gpencil'

Ref T92709
December 9, 2021, 09:23 (GMT)
Cleanup: move public doc-strings into headers for 'geometry'

Ref T92709
December 9, 2021, 09:21 (GMT)
Cleanup: spelling in comments
December 9, 2021, 09:11 (GMT)
Cleanup: move public doc-strings into headers for 'gpencil_modifiers'

Removed doc-strings for operator definitions as they didn't provide
useful information in addition to the operators own description.

Ref T92709
December 9, 2021, 09:01 (GMT)
Cleanup: move public doc-strings into headers for 'compositor'

Ref T92709
December 9, 2021, 09:01 (GMT)
Cleanup: move public doc-strings into headers for 'gpu'

Ref T92709
December 9, 2021, 09:01 (GMT)
Cleanup: move public doc-strings into headers for 'imbuf'

Ref T92709
December 9, 2021, 09:01 (GMT)
Cleanup: move public doc-strings into headers for 'blenlib'

- Added space below non doc-string comments to make it clear
these aren't comments for the symbols directly below them.
- Use doxy sections for some headers.
- Minor improvements to doc-strings.

Ref T92709
December 9, 2021, 08:18 (GMT)
Cycles-X: Add hysteresis to resolution divider algorithm

Adds hysteresis to the resolution divider algorithm to avoid having the resolution bounce around when on the boundary of two resolutions.

Reviewed By: brecht, leesonw

Differential Revision: https://developer.blender.org/D12385
Revision 894269a by Peter Kim
December 9, 2021, 07:29 (GMT)
Fix incorrect copying of XR action map items

After using MEM_dupallocN() on the original item, the bindings ListBase
for the new item needs to be cleared and each binding copied separately.
December 9, 2021, 03:02 (GMT)
Cleanup: Remove empty node button layout function

Was unused since the first commit:
rB658b4c0d56dffbcf1476c2a2a019fa0ecfb79376
December 9, 2021, 02:47 (GMT)
Fix T93869: snap cursor may fail in orthographic view

Float precision issues cause the `ED_view3d_win_to_3d_on_plane` to return
a value even when the view ray is parallel to the plane.

A more general solution might be desired in this case, as other areas that
use `ED_view3d_win_to_3d_on_plane` might have the same problem.

For now, just work around the problem for the snap cursor.
December 9, 2021, 00:48 (GMT)
Fix T93523: Memory leak in Menu Search

Fixes a memory leak introduced by D13225.
Caused by not freeing the hash-map in some cases.

Differential Revision: https://developer.blender.org/D13432
December 8, 2021, 22:35 (GMT)
Fix T93858: Zstd-compressed .blend files from external tools aren't recognized

The issue here was that after the seek table check, the underlying file wasn't
rewound to the start, so the code that checks for the BLENDER header
immediately reaches EOF and fails.

Since Blender always writes files with a seek table, this bug isn't triggered
by files saved in Blender itself. However, files compressed in external tools
generally don't have a seek table.
December 8, 2021, 17:21 (GMT)
Cleanup: Avoid lookup the same property string multiple times

This is a micro-optimization that is useful for operators with many properties.
December 8, 2021, 17:21 (GMT)
Fix T93642: value used as transform offset is ignored in some modes

If a transform operator is executed as modal and has a "value" set, that value works as an offset.

However few transform modes were supporting this.

Include more transform modes as supported.
December 8, 2021, 16:14 (GMT)
Geometry Nodes: Mesh Island Node

This node is a field input that outputs a separate index for each mesh island.
The indices are based on the order of the lowest-numbered vertex in each island.

Authoring help from @hooglyboogly

Differential Revision: https://developer.blender.org/D13504
December 8, 2021, 15:10 (GMT)
Fix T93728: Greasepencil separate will loose all vertex groups

Caused by {rB3b6ee8cee708}

The raw data is copied here correctly
[`BKE_gpencil_stroke_weights_duplicate` in
`BKE_gpencil_stroke_duplicate`] but the vertex groups names are missing.
Prior to above commit is was enough to have `ED_object_add_duplicate`
(this seemingly took care of duplicating object's defbase).
Now vertex groups names sit on the `bGPdata` rather than the `Object`,
and since the separate operation creates **new** `bGPdata` we have to
copy vertex groups names - and active index - over [via
`BKE_defgroup_copy_list`].

Maniphest Tasks: T93728

Differential Revision: https://developer.blender.org/D13509
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021