Blender Git Commits

Blender Git "master" branch commits.

Page: 521 / 5574

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: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
Revision 336a675 by Ankit Meel
October 26, 2020, 09:36 (GMT)
Merge branch 'blender-v2.91-release' into master
Revision 2ddecff by Ankit Meel
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
October 26, 2020, 08:52 (GMT)
Merge branch 'blender-v2.91-release' into master
October 26, 2020, 08:51 (GMT)
Fix T81963: Random rare crashes in override code.

Finaly managed to reproduce, we not only have to ensure pose data is up
to date for the override armature, but also for the reference linked
data.
Revision cd16a5c by Bastien Montagne
October 26, 2020, 08:17 (GMT)
Merge branch 'blender-v2.91-release' into master
October 26, 2020, 08:16 (GMT)
Fix T81984: Crash in sculpt undo with mask extract after dyntopo toggle

More operators missing the mandatory undo flag...
October 26, 2020, 07:16 (GMT)
Modifiers: include the object & modifier when logging errors

Without this, there was no way of finding out which object, modifier
combination caused the error, making the logs not very useful
for debugging.
October 26, 2020, 04:59 (GMT)
Keymap: enable repeat for text editing paste operations
October 26, 2020, 04:59 (GMT)
Cleanup: spelling
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021