Blender Git Commits

Blender Git "master" branch commits.

30 minutes ago
deps: fix build issue on windows.

Windows does not build libxml2 so the dependency recently
added for mac caused a cmake error.
Revision 05c57dc by Hans Goudey
45 minutes ago
UI: Use property split in UV editor panels

This is not an exhaustive change, just for the 2D cursor and
UDIM grid properties. Also vertically align the "UV Vertex"
buttons like in the 3D view panels.
Revision a13b14b by Julian Eisel
1 hour 23 min ago
Fix misalignment of menu items in Preferences > Save & Load menu

Checking for the layout alignment is not a reliable way to filter out
which items need the additional icon/text offset. Instead check if the
buttons are icon-only (which we rarely do, e.g. for collection colors in
the Outliner context menu).
Revision 9ce1a04 by Julian Eisel
1 hour 31 min ago
Cleanup: Resolve warnings

Unused variables, missing include for declaration, missing 'static'
specifier. Also rename function to match naming convention.
Revision aacf8d7 by Julian Eisel
1 hour 44 min ago
UI: Support mouse over highlighting for superimposed icons

E.g. the 'x' icons or eyedropper icons in text buttons. They didn't use
to have any mouse over feedback, now we dim the icon until hovered.
This kind of feedback helps users see that the icons are interactive,
and if they are within their interaction hotspot.
Revision 9d52838 by Julian Eisel
1 hour 44 min ago
UI: Support interacting with superimposed icons while editing

For example you can now start entering text in the Properties or
Outliner search, and press the 'x' while the button is still in
text-edit mode.
This way you don't have to exit text editing first, before being able to
quickly clear the string with a mouse click. So this is a small
improvement for convenience.

It also works for the eyedropper (change to picking an object while text
editing) or the '+' and '-' icons in the file saving dialog.
Revision a6a0cbc by Hans Goudey
1 hour 52 min ago
Curves: Allow caps for all geometry types

I think this wasn't allowed before because the section of a curve was
built in multiple parts. But since rBe34d3e32dda7, the whole slice
of a curve is built in one piece, so we can easily support curve
caps for all geometry types, including the new custom profile option.

Note that this also allows "caps" when the fill type is not full.
They could easily be disabled by checking for "Full" fill type
if that was preferred in the future.

See the patch for images.

Differential Revision:
2 hours 23 min ago
Unify all XYZ symmetry options using Mesh Symmetry

This adds XYZ symmetry as a property of meshes and updates all modes to
use the mesh symmetry by default to have a consistent tool behavior
between all modes and when switching objects.

Reviewed By: brecht, mano-wii, campbellbarton

Maniphest Tasks: T79785

Differential Revision:
2 hours 42 min ago
Object: Switch Object operator

This object operator exits and frees the edit data of the
current object and enters the same mode in another one in a single step,
without going through object mode or keeping multiple edit object data
active. It is assigned to the D key.

This solves all conflicts that the right/click select keymap and the
emulate 3 button mouse produces for this operation and it is independent
of the state of Lock object modes.
Also, as the SculptSession is freed, when using Multires objects go
back to their preview resolution level, so it is possible to work on
high vertex count scenes without slowing down the viewport and other
performance problems.

Reviewed By: #user_interface, pablovazquez

Differential Revision:
2 hours 52 min ago
Sculpt: Render Mask and Face Sets with modifiers active

This removes the limitation of the sculpt overlays not being visible
with modifiers active.

Reviewed By: fclem

Maniphest Tasks: T68900

Differential Revision:
2 hours 57 min ago
Overlay: Fade Inactive Geometry

This implements a new overlay that blends the bakground color over the
objects that are not in the same mode as the active object, making
them fade with the background.
This is especially needed for sculpt mode as there is no other overlay
or indication in the viewport to display which object is active.

This is intended to be used with D7510 in order to have a faster
workflow when sculpting models with multiple objects.

Reviewed By: fclem

Differential Revision:
3 hours 7 min ago
LookDev: Lock HDRI rotation to View

This adds an option for the HDRI rotation to follow the view rotation.
When this option is enabled, this allows EEVEE materials to be used as
matcaps for sculpting and painting.

This has an extra performance cost when orbiting around the model as the
lookdev cache needs to be recalculated, but in my test it is barely

Reviewed By: fclem

Differential Revision:
3 hours 12 min ago
Sculpt: Scale Cloth Filter

This filter scales the mesh as it was a softbody, producing folds in the
surface. The orientation of the folds can be controlled using the filter
axis and orientation.

This is an example of a cloth filter that uses deform coordinates instead
of forces, but probably it does not make much sense to expose it to the
user in a different way and with different parameters. I'll remove
FilterCache->enabled_force_axis in a later commit and use always
enabled_axis in SCULPT_filter_zero_disabled_axis_components
for both forces and deformation filters, so this function can also be used
in the mesh filter.

Reviewed By: sergey

Differential Revision:
3 hours 16 min ago
Sculpt: Lower the default cloth deformation constraints strength

The deformation constraints strength were too strong and they were
preventing the cloth effects of the brushes with cloth deformation target
to create folds properly. This lowers the default, making the simulation
follow the deformation in a more relaxed way.

I'll make a separate patch to expose this as a property for certain brushes
and cloth deformers that may need higher values (like boundary with loop
falloff on a low poly mesh), but I think this default will work better for
most use cases.

Reviewed By: sergey

Differential Revision:
3 hours 18 min ago
Revert "Fix T79523 Paint Cursor: Wide line not supported on OSX"

This commit caused regression on some sculpt paint cursors. A better
approach is being worked on.

This reverts commit 6ade522f277fb74d4691973b7bb55840300043a2.
3 hours 54 min ago
GPencil: Implement Holdout materials

This new feature allows to use the strokes as an eraser of any stroke below. This is very handy to open holes in filled areas.

After running some tests, we have decided to keep the additive effect of the holdout color. To get clean holdout areas, just move the color to black to remove any additive effect. To have additive effect can be used in situations like tint slightly a transparent window with blue to simulate the glass.

See T79878 for more details

Differential Revision:
4 hours 11 min ago
Fix T79929: crashes with Cycles denoising on older Macs

This was a bug in OpenImageDenoise, upgrade to latest 1.2.3 which has the fix.
This in turn required a newer ispc version.

Differential Revision:
4 hours 12 min ago
Fix T78793, T79707: Cycles crash on macOS with older CPUs

Embree static libraries need additional linking flags to avoid SSE and
AVX symbols getting mixed up.
Revision ce558a4 by Julian Eisel
4 hours 17 min ago
UI: Correct superimposed icon interaction hotspot

The hotspot was slighly too large, which could be apparent in cases
where there are multiple superimposed icons.
Revision ff44429 by Julian Eisel
4 hours 17 min ago
Fix warning printed when duplicating marker

Steps to reproduce were:
* Create a marker in the timeline
* With the mouse over the marker region, press Shift+D

The function for moving markers was reused and had handling specific to
tweak events. This is not relevant in case of duplicating markers.
By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2020