Blender Git Commits

Blender Git "master" branch commits.

Page: 534 / 5574

October 18, 2020, 20:27 (GMT)
Fix Bevel percent mode, and clamping for it too (T79898).

The code for Bevel's percent (and absolute) modes were pretty bogus.
It assumed, like the rest of the modes, that the offset lines are
parallel to the beveled edge. Which is not true for these modes,
though it accidentally works sometimes if the legs are equilength.
Also the clamping code for those modes was completey wrong.
It is too hard to really fix the clamping code for absolute mode,
but it is a little better now. Percent mode clamping is fixed.
October 18, 2020, 18:35 (GMT)
Fluid: Fix for issues with external forces

A general refactor / fix commit that should clear out the issues that have been reported on external forces and moving effectors (e.g. T79537, T81660, T80088).
October 18, 2020, 18:35 (GMT)
Fluid: Add versioning for fluid particle physics type

Setting this type is required to prevent fluid particles from being treated like physics particles. The actual fix for this was made in rB11a8a6d0e6b5.
October 18, 2020, 17:31 (GMT)
Fix for T81400: Block Width Corrections

Scale widths of popovers and dialogs with Text Style font point changes.

Differential Revision: https://developer.blender.org/D9132

Reviewed by Hans Goudey
Revision 78a5895 by Hans Goudey
October 18, 2020, 15:57 (GMT)
Fix T81800: Datablock pin not working for bones in pose mode

The "active_pose_bone" context variable isn't accessed from
`buttons_context`, it uses `screen_context` instead. This means
it can't account for pinning in the property editor.

Using "pose_bone" context variable first means the property
editor context will be used and the pinning will work.

Differential Revision: https://developer.blender.org/D9242
October 18, 2020, 13:06 (GMT)
Sculpt: Fix (unreported) assert getting trimming cursor depth option

It is a boolean, not an enum.
October 18, 2020, 08:56 (GMT)
Avoid Assert in BKE_mesh_calc_loop_tangent_ex

Code could call CustomData_get_layer_index_n with a negative index (if
no active and/or render UV layers are found). This would assert since
rBe86785c51445.

Spotted while looking into T81398.

Differential Revision: https://developer.blender.org/D9212
October 18, 2020, 08:42 (GMT)
Fix T81729: Cycles object color not updating for instancers

Caused by rBe65c78cd43aa.

Since above commit, only geometry and lights received the update,
previous to this check an instancer would receive that is well (in case
of 'is_updated_shading').

Now check for an instancer (checking OB_DUPLI via ob.is_instancer()) and
do an update then as well.

Reviewers: brecht

Maniphest Tasks: T81729

Differential Revision: https://developer.blender.org/D9222
Revision f425f40 by Hans Goudey
October 17, 2020, 21:36 (GMT)
Cleanup: More miscellaneous code quality changes in wm directory

- Declare variables where initialized.
- Use LISTBASE_FOREACH macro.
- Reduce variable scope.
- Return early or reduce indentation in some cases.
Revision 85e78fa by Hans Goudey
October 17, 2020, 21:30 (GMT)
Cleanup: Declare variables where initialized in context.c
October 17, 2020, 11:10 (GMT)
Fix T81761: EEVEE enabled AO pass affects render result

This was a regression introduced on 68651534c263.
Revision 7447eb7 by Hans Goudey
October 17, 2020, 06:28 (GMT)
Cleanup: Miscellaneous improvements in wm directory

- Reduce variable scope.
- Use LISTBASE_FOREACH macros.
- Return early in some cases to reduce to reduce indentation.
October 17, 2020, 05:01 (GMT)
Fix T81594: Unable to reassign effect inputs

This was caused by canceling operator if strip has more than 0 inputs.
Logic should be reversed - cancel only if strip has 0 inputs.

BKE_sequencer_render_loop_check() arguments had to be sanitized because
seq_effect_find_selected() can set seq1,2,3 to NULL

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D9197
Revision e2c5439 by Hans Goudey
October 17, 2020, 02:56 (GMT)
Cleanup: Reduce variable scope in screen directory

Also return early and use LISTBASE_FOREACH in a few places
Revision 20276e4 by Hans Goudey
October 17, 2020, 01:49 (GMT)
Cleanup: Reduce variable scope in area.c
Revision 3bc808e by Hans Goudey
October 16, 2020, 21:03 (GMT)
UI: Tweak decimate modifier layout

- Expand the "Type" toggle at the top. This is consistent with other
modifiers where there is a "Type" option at the top. It conveys the
property's importance and makes it faster to switch it.
- Expand the "Delimit" option vertically so the text isn't squashed.
There isn't enough space on one line for this, and is has to be
expanded because more than one option can be selected. This is also
consistent with how "multi-select" enums are often displayed, like
the 3D view snapping settings.

| Before | After |
| {F9000996} | {F9000985} |
Revision c275a00 by Hans Goudey
October 16, 2020, 20:50 (GMT)
UI: Align related properties

The start and end frame properties are generally aligned in one block.
Revision 54da72d by Hans Goudey
October 16, 2020, 20:16 (GMT)
Property Search: Reset panel expansion when exiting search

This patch implements panel expansion saving and resetting for property
search. While search is active, the panel expansion is based on whether
or not it has a search result. When the search finishes, the panel
expansion returns to its state before the search started. However, any
panels interacted with during the search won't reset their expansion.

This requires adding a new runtime flag for panels to store whether to
use search result status as expansion. It also requires better handling
for animation when panel expansion changes with another new runtime flag.
`UI_panel_is_closed` gets the search-dependent expansion, but it is
intentionally not used to access expansion in every case-- sometimes it's
necessary to use `PNL_CLOSED` directly.

Differential Revision: https://developer.blender.org/D8984
October 16, 2020, 16:06 (GMT)
Cleanup: reduce variable scopes
October 16, 2020, 15:30 (GMT)
Cleanup: reduce variable scopes
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021