Blender Git Commits

Blender Git "master" branch commits.

Page: 221 / 5574

July 1, 2021, 04:53 (GMT)
Fix edit-mesh partial update regression when snapping to normals

Edit-mesh partial update logic assumed translate didn't need normals
to be recalculated (for faces with all vertices being transformed).

However translate can optionally rotate which requires
all transformed normals to be updated.

Check for this case and use the previous partial-update method
when it modified extra geometry, so the normals are properly reset.
Further updates need not recalculate them.
July 1, 2021, 03:30 (GMT)
Cleanup: replace booleans with enum for storing translate rotation
July 1, 2021, 02:58 (GMT)
Correction to T89571 fix 4546f176eb0f822048b53766f2e97c5a4cbf53c6

Supporting both object & edit-mode is more involved.
Both cases are now supported with object mode tracking the last-used
state for rotation so it's only reset once when rotation is disabled.
July 1, 2021, 01:54 (GMT)
Fix T89571: Align Orientation to Target keeps rotation when toggled
July 1, 2021, 01:24 (GMT)
BLI_linklist_stack: use cast to prevent warnings when used in C++
July 1, 2021, 01:16 (GMT)
Cleanup: spelling
July 1, 2021, 01:06 (GMT)
Cleanup: outdated IPO references in comments
July 1, 2021, 01:06 (GMT)
Cleanup: rename playhead to current-frame
July 1, 2021, 00:25 (GMT)
Cleanup: clang-format, clang-tidy
July 1, 2021, 00:25 (GMT)
Cleanup: split normal calculation into it's own file

Normals now includes many functions including normal splitting &
custom normal manipulation split this into it's own file
to centralize related functions.
July 1, 2021, 00:25 (GMT)
Cleanup: remove unused internal grease pencil definitions
July 1, 2021, 00:25 (GMT)
Cleanup: spelling
July 1, 2021, 00:22 (GMT)
Geometry Nodes: Curve Primitive Circle

This node has two modes: the first mode computes a circle from three
locations and a resolution. The second takes radius and resolution.
The first mode also outputs the center of the computed circle as
a vector.

Differential Revision: https://developer.blender.org/D11650
Revision 5a64c68 by Hans Goudey
June 30, 2021, 23:03 (GMT)
Cleanup: Fix compiler warning from previous commit

The use_deform argument was always passed as zero or one, so the "< 0"
check is no longer necessary.
Revision 4f3ec01 by Hans Goudey
June 30, 2021, 21:41 (GMT)
Cleanup: Use bool instead of int, rename variable

The "useDeform" argument was only passed as 1 or 0, so even though
there was an odd "< 0" comparison, it can be passed as a boolean.
June 30, 2021, 15:46 (GMT)
UI: custom free function improvements

This changes `UI_but_func_tooltip_set` so that it allows passing a custom free function, which has two benefits:

* The caller can pass `null` to indicate that the value should not be freed.
* Arbitrary c++ data can be passed to the callback (before the struct had to be trivially destructible).

I added `uiFreeArgFunc` and used it in other places where appropriate.

Differential Revision: https://developer.blender.org/D11738
Revision ca12d70 by Philipp Oeser
June 30, 2021, 15:29 (GMT)
Cleanup: variable naming for texture/material SocketPropertyType

Copy-Pasting error in rB3025c348253a

Maniphest Tasks: T88701

Differential Revision: https://developer.blender.org/D11755
June 30, 2021, 13:42 (GMT)
Fix bad versioning of snapping flags

If the value of a macro has changed. We need to change all references to
that macro in the versioning code.
June 30, 2021, 13:38 (GMT)
Fix T89535: FCurve.mute UI text wrong

Copy-paste mistake in rB4e9817a4fb29 (copied from fmodifier).

Maniphest Tasks: T89535

Differential Revision: https://developer.blender.org/D11753
June 30, 2021, 13:15 (GMT)
Fix T89554: UV snapping broken

Caused by {rBfba9cd019f21}.

Above commit reordered toolsettings snapping flags but missed remapping
these for the UV toolsettings in versioning code.

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