Blender Git Commit Log

All Blender Git commits.

Page: 1183 / 8462

October 26, 2020, 12:07 (GMT)
Merge branch 'blender-v2.91-release'
October 26, 2020, 12:01 (GMT)
Merge branch 'master' into soc-2020-io-performance
Revision f76f48c by Philipp Oeser / Philipp Oeser (master)
October 26, 2020, 11:52 (GMT)
Fix T69911: Adaptive subdivision offscreen dicing does not work correctly if the camera is shifted

Code was assuming frustrum planes are symmetrical which is not the case
for shifting. This lead to a shrinking region if shift was negative (and
a growing region if shift was positive)

So instead of only keeping track of plane on one side (and mirroring
over in code) get the actual planes after shifting and use these
instead.

This code corrects this for ortho and perspective cameras, it does not
touch panoramic cameras.

Reviewed By: brecht

Maniphest Tasks: T69911

Differential Revision: https://developer.blender.org/D9342
October 26, 2020, 11:31 (GMT)
Fix T81893: Cycles viewport crash changing mesh to smoke domain

Now that volume is a dedicated geometry type in Cycles, we need to re-allocate
the geometry when a mesh changes into a volume.
October 26, 2020, 11:31 (GMT)
Cleanup: compiler warnings
October 26, 2020, 11:27 (GMT)
Geometry Nodes: initial Transform node

Most of this code has been written by @HooglyBoogly.
I just changed the exec funtion so that it does not have to make
a copy of the mesh.
October 26, 2020, 11:25 (GMT)
Geometry Nodes: add utility method to check if a geometry has a mesh
October 26, 2020, 11:10 (GMT)
Merge branch 'master' into geometry-nodes
October 26, 2020, 11:06 (GMT)
Merge branch 'blender-v2.91-release'
October 26, 2020, 11:02 (GMT)
Fix custom-normal support for mesh editing operations

Account for custom normals for edit-mesh tools:

- Limited Dissolve
- Split
- Split (Edges/Vertices)
- Triangulate
October 26, 2020, 10:29 (GMT)
Merge branch 'blender-v2.91-release' into master

Conflicts:
source/blender/blenkernel/intern/armature.c
October 26, 2020, 10:26 (GMT)
Proper, cleaner fix for T81963: Random rare crashes in override code.

Use new `BKE_pose_ensure` utils, and do so for reference linked object
too everywhere.
October 26, 2020, 10:26 (GMT)
Pose: Add a 'pose_ensure' new utils that only rebuilds if needed.

Avoids having to spread the check logic everywhere in the code.
October 26, 2020, 10:10 (GMT)
Merge branch 'blender-v2.91-release'
October 26, 2020, 10:08 (GMT)
Fix T82077: Tools popup error in the image editor

Add check for an image space type.

Ref D9347
October 26, 2020, 10:03 (GMT)
Merge branch 'blender-v2.91-release'
October 26, 2020, 10:02 (GMT)
LatticeDeform: Performance

This patch improves the single core performance of the lattice deform.

1. Prefetching deform vert during initialization. This data is constant for
each innerloop. This reduces the complexity of the inner loop what makes
more CPU resources free for other optimizations.
2. Prefetching the Lattice instance. It was constant. Although performance
wise this isn't noticeable it is always good to free some space in the
branch prediction tables.
3. Remove branching in all loops by not exiting when the effect of the loop
isn't there. The checks in the inner loops detected if this loop didn't
have any effect on the final result and then continue to the next loop.
This made the branch prediction unpredictable and a lot of mis
predictions were done. For smaller inner loops it is always better
to remove unpredictable if statements by using branchless code patterns.
4. Use SSE2 instruction when available.

This gives 50% performance increase measured on a
Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz with GCC 9.3.
Also check other compilers.

Before:
```
performance_no_dvert_10000 (4 ms)
performance_no_dvert_100000 (30 ms)
performance_no_dvert_1000000 (268 ms)
performance_no_dvert_10000000 (2637 ms)
```

After:
```
performance_no_dvert_10000 (3 ms)
performance_no_dvert_100000 (21 ms)
performance_no_dvert_1000000 (180 ms)
performance_no_dvert_10000000 (1756 ms)
```

Reviewed By: Campbell Barton

Differential Revision: https://developer.blender.org/D9087
October 26, 2020, 09:45 (GMT)
Added initial support for customdata to dyntopo undo (BMLog).

TODO:
- Handle face (loop) data
- Figure out what to do about edge data (warn user? actually handle
it?)
- Handle sculpt color undo push nodes properly (shouldn't be hard).
Revision 336a675 by Ankit Meel (master)
October 26, 2020, 09:36 (GMT)
Merge branch 'blender-v2.91-release' into master
Revision 2ddecff by Ankit Meel (master)
October 26, 2020, 09:32 (GMT)
Fix T81077 id_management test on macOS

This looks like a optimizer bug where it makes wrong assumptions.
The code inside lib_id_delete:264 on rBafd13710b897cc1c11b
`for (id = last_remapped_id->next; id; id = id->next) {..}`
is not executed in release/relwithdebinfo builds.

This can be "fixed" by several ways:
- Adding a line that prints the `last_remapped_id->name` right before
the said for-loop starts.
- Turning off optimization for the whole function `id_delete`:
`#pragma clang optimize off/on` Ray Molenkamp
- Marking `last_remapped_id` volatile. Julian Eisel
- Marking `tagged_deleted_ids` volatile. But it adds a warning when
calling `BLI_addtail`: discards volatile qualifier. Discovered by
accident.

Fix T81077

Reviewed By: mont29

Maniphest Tasks: T81077

Differential Revision: https://developer.blender.org/D9315
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021