Blender Git Commit Log

All Blender Git commits.

Page: 1110 / 8462

November 18, 2020, 14:56 (GMT)
Fix exact boolean coplanar problem due to inexact transform.

This is an addendum to previous boolean fix, where the object
transformation was "cleaned". Now the operand one is too.
This fixes the issue shown in the video in T82301 when you move
a column around the XY plane with the top and bottom faces
supposedly coplanar with a cube. The transformation matrix when
you do that has a tiny offset in the z component.
November 18, 2020, 14:39 (GMT)
Merge branch 'blender-v2.91-release'
November 18, 2020, 14:38 (GMT)
Fluid: Revert changes from T82488

Scaling of forces needs more work. Before making changes to them it would be nice to have a setup, that works physically correct across multiple modifiers (cloth, rigid bodies, fluid).

This will be a to do for 2.92.
November 18, 2020, 13:26 (GMT)
Merge branch 'blender-v2.91-release'
November 18, 2020, 12:41 (GMT)
Geometry Nodes: support controlling instance scale in point instancer node
November 18, 2020, 12:40 (GMT)
Geometry Nodes: support point cloud component in random attribute node
November 18, 2020, 12:39 (GMT)
Geometry Nodes: support rotation and scale in instances component
November 18, 2020, 12:27 (GMT)
Geometry Nodes: fix memory leak
November 18, 2020, 12:12 (GMT)
Fix T82810: UV Editor, Crash with switching between single image and UDIM tile

Active tile could be NULL when it was on the second tile before
switching back and forth between the Image/UDIM.

In the future we might also check that the active_tile_index is always
valid.
November 18, 2020, 12:07 (GMT)
Merge branch 'master' into greasepencil-object
November 18, 2020, 11:28 (GMT)
Geometry Nodes: initial Random Attribute node

This adds some ui boilerplate code for the Random Attribute node and
provides an initial implementation.

Note, while the implementation can already randomize attributes, it might
not behave as expected under all circumstances yet. It's still work in progress.
November 18, 2020, 11:25 (GMT)
Geometry Nodes: use attribute api in point instance node
November 18, 2020, 11:25 (GMT)
Geometry Nodes: use attribute api in point distribute node
November 18, 2020, 11:20 (GMT)
Fix T82586: Sculpt normals not updating with EEVEE enabled

The root cause of this bug is that the function that updates the PBVH
normals is drw_sculpt_generate_calls. As now both the overlays and
mesh can be drawn without using pbvh drawing, the normals were not
updating. This patch forces a normals updates also in the no PBVH
drawing code path of the overlays. This was affecting both shading and
sculpt surface sampling in both flat and smooth shading modes.

Having the sculpt normals being updated by the drawing code is a wrong
design which also causes other issues like:

Brushes that sample the surface and do multiple stroke steps between

redraws will sample invalid normals, creating artifacts during the
stroke clearly visible in some brushes.

Brushes that do not need to sample the surface update the normals on

each redraw. This affects performance a lot as in some cases, updating the
normals takes more time than doing the brush deformation. If flat shading
is being used, this is only necessary to do once after the stroke ends.

Reviewed By: fclem
Differential Revision: https://developer.blender.org/D9535
November 18, 2020, 11:20 (GMT)
Geometry Nodes: initial generic attribute access API

I will have to do a couple more iterations on this api in the upcoming weeks,
but for now it should be good enough.

The API adds an indirection for attribute access. That has the following benefits:
* Most code does not have to care about how an attribute is stored internally.
This is mainly necessary, because we have to deal with "legacy" attributes
such as vertex weights and attributes that are embedded into other structs
such as vertex positions.
* When reading from an attribute, we generally don't care what domain the
attribute is stored on. So we want to abstract away the interpolation that
that adapts attributes from one domain to another domain (this is not
actually implemented yet).

Accessing attributes through this indirection does have a performance penalty.
In later iterations of this API I want to reduce this penalty and extend the API
so that performance critical code does not have to go through the indirection
for every attribute access.

Other possible improvements for later iterations include:
* Actually implement interpolation between domains.
* Don't use inheritance for the different attribute types. A single class for read
access and one for write access might be enough, because we know all the ways
in which attributes are stored internally. We don't want more different internal
structures in the future. On the contrary, ideally we can consolidate the different
storage formats in the future to reduce the need for this indirection.
* Remove the need for heap allocations when creating attribute accessors.
November 18, 2020, 11:00 (GMT)
Functions: add float2 cpp type
November 18, 2020, 05:43 (GMT)
Merge branch 'blender-v2.91-release'
November 18, 2020, 05:40 (GMT)
Fix T82800: Changing settings from a pie menu doesn't add undo steps

Pie menu had inconsistent behavior for dragging & releasing the key
compared to clicking on the button.

This was caused by the `onfree` argument being set to true,
preventing the button from running callbacks such as setting
up undo data & auto-keyframe

This argument should only be used when freeing the button,
set this to false as is done for regular menus.
November 18, 2020, 04:13 (GMT)
Merge branch 'blender-v2.91-release'
November 18, 2020, 04:10 (GMT)
Fix undo UI text containing shortcuts & newlines

- Shortcuts were being shown in the undo history.
- Multi-line tool-tips now only use the first line.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021