Blender Git Commit Log

All Blender Git commits.

Page: 2007 / 8462

December 9, 2019, 19:28 (GMT)
Merge branch 'master' into greasepencil-object
December 9, 2019, 18:18 (GMT)
Add the ability to create internal springs to the cloth sim

This can be used to make closed surfaces behave more like a soft body.

Reviewed By: Jacques Lucke

Differential Revision: https://developer.blender.org/D5788
December 9, 2019, 17:24 (GMT)
GPencil: Refactor how sample pixel
December 9, 2019, 16:00 (GMT)
Fix T72006: Clay brush with size pressure corrupts mesh

When size pressure is enabled, the radius may not be enough to sample
any vertices to calculate the area normal. This lead to a vector 0 plane
and a division by 0 when calculating the signed distance to the plane,
which produces a NaN that was being written to the vertex coordinates.

Reviewed By: brecht

Maniphest Tasks: T72006

Differential Revision: https://developer.blender.org/D6326
December 9, 2019, 15:59 (GMT)
Fix T72054: Sculpt Mode crash when using Relax Mesh Filter with Dyntopo enabled

This commit fixes 3 bugs:

- Fix the crash reported in T72054. The BMesh elem table and the vd.no was null, so we now ensure that the table exists before running any sculpt tool in dyntopo. The relax function also uses vd.fno in case that vd.no is not available.
- Fix missing updates of the bounding boxes when running the mesh filter. This can be optimized by running the updates only when the filter finishes. Without this, it is impossible to sculpt the user modifies the mesh too much with the filter.
- Fix incorrect solution of relax vertex when using EEVEE. Relaxing the mesh requires the updated normals after each iteration. This was done by the PBVH rendering code, but when running EEVEE it was using incorrect normals. Now normals are updated after each iteration.

Reviewed By: brecht

Maniphest Tasks: T72054

Differential Revision: https://developer.blender.org/D6333
December 9, 2019, 15:57 (GMT)
Fix T72092: Clay Strips Brush stroke crash with Brush Detail Size

Some other areas in the brush code outside sculpt mode assume that
pressure is multiplied directly on top of the initial size. This patch
calculates the pixel radius correctly using the brush size from sculpt
mode to get the dyntopo detail size.
When the new brush input system is in place, all these values will come
directly from the brush input code with all the custom curves applied
per brush, so all paint modes will have a correct brush behavior and all
this sculpt mode specific code won't be necessary.

Reviewed By: jbakker

Maniphest Tasks: T72092

Differential Revision: https://developer.blender.org/D6339
December 9, 2019, 15:57 (GMT)
Merge branch 'master' into greasepencil-object
December 9, 2019, 15:56 (GMT)
GPencil: Move get pixel function to shared module

Instead to have the code two times, move to BKE and share.
December 9, 2019, 15:53 (GMT)
Fix Mask Brush gradient artifacts

The old mask brush implementation was adding the brush value to the
previous vertex mask value and clamping the result. This leads to
visible artifacts in the mask gradient as the value approaches 0 or 1,
so it was not possible to paint a smooth mask with this brush.
Now we are also multiplying by the previous mask value before clamping,
fixing all those gradient artifacts.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D6341
December 9, 2019, 15:37 (GMT)
GPencil: Refactor: Fix stroke end segment not drawn because of 180� angle

We just use safe normalize now. This just draw straight lines if the angle
is too sharp (or no lines at all if the line is parallel to the view).
December 9, 2019, 14:48 (GMT)
GPencil: Refactor: Rename variables to match naming convention
December 9, 2019, 13:56 (GMT)
Cleanup: Redundant variable assignment to self

Was triggering strict compiler warning.
December 9, 2019, 13:32 (GMT)
Cycles: Add OptiX acceleration structure compaction

This adds compaction support for OptiX acceleration structures, which reduces the device memory footprint in a post step after building. Depending on the scene this can reduce the amount of used device memory quite a bit and even improve performance (smaller acceleration structure improves cache usage). It's only enabled for background renders to make acceleration structure builds fast in viewport.

Also fixes a bug in the memory management for OptiX acceleration structures: These were held in a dynamic vector of 'device_memory' instances and used the mem_alloc/mem_free functions. However, those keep track of memory instances in the 'cuda_mem_map' via pointers to 'device_memory' (which works fine everywhere else since those are never copied/moved). But in the case of the vector, it may decide to reallocate at some point, which invalidates those pointers and would result in some nasty accesses to invalid memory. So it is not actually safe to move a 'device_memory' object and therefore this removes the move operator overloads again.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D6369
December 9, 2019, 12:38 (GMT)
GPencil: Refactor: Fix fill stroke indices
December 9, 2019, 12:35 (GMT)
GPencil: Refactor: Fix miter of endpoints
December 9, 2019, 09:15 (GMT)
Fix T72145: Object.update_from_editmode crashes with empties

Also corrects the return value, where objects that don't have an
edit-mode returned true, making it seem as if object data was flushed.
December 9, 2019, 08:45 (GMT)
Gizmo: add view aligned gizmo for shear
December 9, 2019, 06:04 (GMT)
Merge remote-tracking branch 'origin/master' into temp-lanpr-review
December 9, 2019, 01:28 (GMT)
Merge branch 'greasepencil-object' into greasepencil-refactor
December 9, 2019, 01:28 (GMT)
GPencil: Refactor: Quick implementation of object matrices

This is just for testing. Not the final implementation
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021