Blender Git Commits

Blender Git "master" branch commits.

Page: 150 / 5574

September 15, 2021, 07:54 (GMT)
Gizmo: show groups flagged with SHOW_MODAL_ALL during interaction

Follow up to fix for T73684,
which allowed some modal gizmos to hide all others.

Also resolve an issue from 917a972b56af103aee406dfffe1f42745b5ad360
where shear the shear gizmo would be visible during interaction.

Internally there are some changes to gizmo behavior

- The gizmo with modal interaction wont draw if it's poll function fails.
- The WM_GIZMOGROUPTYPE_DRAW_MODAL_ALL flag now causes these gizmo
groups to draw when another group is being interacted with.
September 15, 2021, 07:05 (GMT)
Cleanup: correct tracker ID in comment
September 15, 2021, 07:05 (GMT)
Cleanup: replace defines with functions
Revision a2c5c2b by YimingWu
September 15, 2021, 06:38 (GMT)
GPencil: Dot dash modifier.

Create dot-dash effect for grease pencil strokes. User can manually edit the length, gap and styles for each segment of dashed lines.

The values in each segment can all be key-framed to make animations.

Reviewed By: Hans Goudey (HooglyBoogly), Antonio Vazquez (antoniov)

Differential Revision: https://developer.blender.org/D11876
Revision c1cf66b by YimingWu
September 15, 2021, 06:03 (GMT)
LineArt: Automatic crease with flat/smooth faces.

This allows crease lines to be automatically hidden on smooth surfaces, also provided options for:

- Showing crease on marked sharp edges.
- Force crease detection on smooth surfaces.

Reviewed By: Antonio Vazquez (antoniov)

Differential Revision: https://developer.blender.org/D12051
September 15, 2021, 03:16 (GMT)
PyDocs: Update theme to latest version
September 15, 2021, 02:57 (GMT)
UI: Addition Changes to Freestyle Properties

- Material Properties: Use split column layout
- Remove the redundent term 'Options'
- Remove the redundent term 'Freesttle'
September 15, 2021, 01:15 (GMT)
Fix T89241: Scale to fit overflows into a second line
September 15, 2021, 00:56 (GMT)
Cleanup: spelling
September 15, 2021, 00:53 (GMT)
Cleanup: doxy sections, parameter syntax
Revision e6fa74f by Hans Goudey
September 14, 2021, 23:13 (GMT)
Fix: Use after free in spreadsheet attribute column ID

A temporary string was created in the attribute_foreach callback
and used in a map at a higher scope. When the callback finished,
the string went out of scope, was freed, then the elements in the
set pointed to freed memory.
September 14, 2021, 18:24 (GMT)
Fix T89027: "factor" field in pose breakdowner not updated

After applying the pose breakdowner,
the "factor" slider in the redo panel wasn't set to the correct value
This would cause the pose to jump around
once you start dragging the slider

Reviewed by: Sybren A. St�vel
Differential Revision: https://developer.blender.org/D12187
Ref: D12187
September 14, 2021, 15:59 (GMT)
LibLink: Enable unittest that was previously failing in append case.

Previous commit fixed it.
September 14, 2021, 15:49 (GMT)
LibLink: New Append code.

This commit fully refactors the way linked IDs are made local when
appended.

Previously, `BKE_library_make_local` was (ab)used for this task, but it
was missing some contextual data and doing complex processing to try to
work around this, with limited sucess. Further more, it was nearly
impossibe to extend (e.g. to get new append behaviors necessary for the
asset project).

The new code is a dedicated append step in WM linking process.

NOTE: BPY API (`libray.load()` context manager) uses its own code here,
which still relies on `BKE_library_make_local` for appending.
Unfortunately, merging those two different code paths is not trivial so
for now this API will remain unchanged.

Fix T55629: Append already linked Data is impossible.
September 14, 2021, 15:49 (GMT)
ID management: Add new version of `relink_to_newid` using proper new remapping code.

Current `BKE_libblock_relink_to_newid` is using its own simplistic,
limited and not really correct version of ID remapping.

While doing a full replacement would have been ideal, this is
risky/time-constrained for Blender 3.0 release, so for now we'll have
both versions co-existing.
September 14, 2021, 14:41 (GMT)
Cleanup: fix inconsistent parameter name

Found by clang-tidy.
September 14, 2021, 14:34 (GMT)
Nodes: cache node declaration on node

Previously, it was necessary to rebuild the node declaration
every time it was used. Now it is cached per node for easy
and fast access.

For more details on what this is, look at the comment in
`DNA_node_types.h`.

Differential Revision: https://developer.blender.org/D12471
September 14, 2021, 14:08 (GMT)
Cleanup: simplify resource scope methods

Previously, a debug name had to be passed to all methods
that added a resource to the `ResourceScope`. The idea was
that this would make it easier to find certain bugs. In reality
I never found this to be useful, and it was mostly annoying.
The thing is, something that is in a resource scope never leaks
(unless the resource scope is not destructed of course).

Removing the name parameter makes the structure easier to use.
September 14, 2021, 13:18 (GMT)
Fix: use type name instead of variable name

That was a typo in rBfd60f6713a9d9e6f7d706b53bf1311f2f1cd9031.
September 14, 2021, 12:52 (GMT)
Functions: support optional outputs in multi-function

Sometimes not all outputs of a multi-function are required by the
caller. In those cases it would be a waste of compute resources
to calculate the unused values anyway. Now, the caller of a
multi-function can specify when a specific output is not used.
The called function can check if an output is unused and may
ignore it. Multi-functions can still computed unused outputs as
before if they don't want to check if a specific output is unused.

The multi-function procedure system has been updated to support
ignored outputs in call instructions. An ignored output just has no
variable assigned to it.

The field system has been updated to generate a multi-function
procedure where unused outputs are ignored.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021