Blender Git Commit Log

All Blender Git commits.

Page: 1046 / 8462

December 15, 2020, 19:39 (GMT)
Sculpt: Fairing Brush
December 15, 2020, 19:39 (GMT)
cleanup
December 15, 2020, 19:38 (GMT)
initial inplace priority queue
December 15, 2020, 19:35 (GMT)
Change PBVH leaf limit size
December 15, 2020, 19:32 (GMT)
Sculpt: Fair Face Sets operation for Face Set Edit

This implements a mesh fairing algorithm and implements the fair
operations for Face Set edit. This edit operations create a smooth as
possible geometry patch in the area of the selected Face Set.

The mesh fairing algorithm is designed by Brett Fedack for the addon
"Mesh Fairing": https://github.com/fedackb/mesh-fairing, with some
modifications:

- The main fairing function in BKE_mesh_fair.h does not triangulate
the mesh. For the test I did in sculpt mode results are good enough
without triangulating the topology. Depending on the use and the
result quality needed for a particular tool, the mesh can be
triangulate in the affected area before starting fairing.

- Cotangents loop weights are not implemented yet. The idea is to
also expose the vertex and loop weights in a different function in
case a tool needs to set up custom weights.

This algorithm will also be used to solve the limitations of line
project and implement the Lasso Project and Polyline Project tools.
It can also be used in tools in other areas of Blender, like Edit Mode
or future retopology tools.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D9603
December 15, 2020, 19:23 (GMT)
Fix T83504: Cancel trim operators when there is no geometry

The boolean solver crashes when there is no geometry in the mesh. Also,
using the trimming tools without a valid intersection in the PBVH will
make the orientation and position functionality of the trimming shape
not work, so this is the safer solution.

Reviewed By: mont29

Maniphest Tasks: T83504

Differential Revision: https://developer.blender.org/D9777
December 15, 2020, 19:22 (GMT)
Fix T83201: Cloth brush performance regression

The if statement of the dynamic area mode branch should be an else if.
When using local mode, this was running both the local and global code.

I moved this code to sculpt_cloth and refactored it to use a switch case
to prevent this from happening again.

Reviewed By: mont29

Maniphest Tasks: T83201

Differential Revision: https://developer.blender.org/D9762
December 15, 2020, 18:51 (GMT)
Adjust comment
December 15, 2020, 18:44 (GMT)
Merge branch 'master' into refactor-idprop-ui-data
Revision 26e9c21 by Hans Goudey (master)
December 15, 2020, 18:43 (GMT)
Blenloader: Add utility function to write double array

It makes sense to support writing double arrays just like floats.
This is just split from a patch (D9697) to slim it down some.
Revision d59e87a by Hans Goudey (master)
December 15, 2020, 18:41 (GMT)
Cleanup: Use nullptr instead of NULL in C++ code
Revision 8df1678 by Hans Goudey (master)
December 15, 2020, 18:39 (GMT)
Cleanup: Clang tidy else after return
December 15, 2020, 18:10 (GMT)
Fix Adjust Last Operation popup for operators relying on button context

This was reported for duplicating particle systems, then using F9 to
enable the 'Duplicate Settings' option (see T83317).
In this case, the operator gets the particle_system from (buttons)
context and if none can get found will duplicate all settings instead.

The reason why none gets found here is that buttons_context() doesnt
have a valid path when called from F9/SCREEN_OT_redo_last, path is
cleared when global undo does a file-read which clears the path (see
lib_link_workspace_layout_restore). It can be recomputed though to be
valid even from redo_last (at least when in the Properties Editor).

This was likely causing other operators (relying on buttons context)
from the Properties Editor to fail as well.

Fixes T83317

Maniphest Tasks: T83317

Differential Revision: https://developer.blender.org/D9825
December 15, 2020, 18:09 (GMT)
Remove unecessary import
December 15, 2020, 18:09 (GMT)
Add clear_rna method to completely remove UI data
December 15, 2020, 17:56 (GMT)
Fix crash opening maximized File Browser from Asset Browser

If Preferences > Interface > Temporary Editors > File Browser is set to
"Maximized Area", opening a File Browser from an Asset Browser would
cause the new maximized editor to be an Asset Browser. Exiting it again
would crash.

This fixes the wrong behavior and the crash. There's still an issue with
exiting the editor again, it stays a File Browser then and doesn't go
back to being an Asset Browser. That's to be fixed separately.
December 15, 2020, 17:34 (GMT)
Fix another typo/error in progressive sampling reorder
December 15, 2020, 17:22 (GMT)
Fix (studio-reported) broken handling of relative font paths.

`blf_dir_search` BLF util would not properly handle relative fonts not
found in pre-defined 'system fonts' directoriesi stored in
`global_font_dir` global variable.

Now it rebases relative paths to current .blend file location as
expected.

Note: the fact that VSE is setting font ptaths relative by default is
probably not actually desired, but this is another issue really. See
`BKE_sequencer_text_font_load` code.
December 15, 2020, 17:07 (GMT)
Merge branch 'master' into soc-2021-testing-frameworks
December 15, 2020, 16:48 (GMT)
Post Review: fix coding styles, remove try..except, using value for enumerate
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021