Age | Commit message (Collapse) | Author |
|
saved file
This fixes the crash, but it does not fix the core issue. The PBVH should
always be available when an object is in sculpt mode and tools should
not need to check for that.
Reviewed By: jbakker
Maniphest Tasks: T70790
Differential Revision: https://developer.blender.org/D6063
|
|
tools
Reviewed By: jbakker
Maniphest Tasks: T70839
Differential Revision: https://developer.blender.org/D6071
|
|
Harmless currently since they're the same value,
would fail if other options were added.
|
|
This solves performance issues on some computers where there is significant
threading overhead. Rather than doing the complicated work of optimizing our
own task scheduler, use TBB which appears to work well. The downside is that
we have another thread pool, but it is already there when using OpenVDB voxel
remesh.
For future releases we can switch to using TBB to replace our task scheduler
implementation entirely, and use the same thread pool for BLI_task, Cycles,
Mantaflow, etc.
Differential Revision: https://developer.blender.org/D6030
|
|
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D6026
|
|
direction
This commit also fixes the same issue in elastic deform
Reviewed By: jbakker
Maniphest Tasks: T70554
Differential Revision: https://developer.blender.org/D6014
|
|
These were the last remaining new sculpt tools that did not support multires.
Performance could be improved still, but it should work.
Fixes T68899
|
|
|
|
|
|
Reviewed By: brecht
Maniphest Tasks: T70387
Differential Revision: https://developer.blender.org/D5982
|
|
Thanks to Sergey's neighbor access functions.
Mesh filter still needs some improvements to handle open boundaries better.
|
|
This is to be used by the new sculpting tools.
|
|
- Fix accumulate by allowing normal radius greater than one. Now it works as it should and it should be enabled by default
- Make the square test sharper. This gives a lot more definition to the brush, even when working with fewer polygons
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D5984
|
|
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D5981
|
|
Reviewed By: brecht
Maniphest Tasks: T70299
Differential Revision: https://developer.blender.org/D5920
|
|
We don't need to filter the fully masked nodes here after adding the flag
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D5973
|
|
Reviewed By: brecht
Maniphest Tasks: T70324
Differential Revision: https://developer.blender.org/D5934
|
|
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D5965
|
|
Produces almost the same result but takes in account all the edges instead
of only four, which gets rid of the need to select specific edges. Also,
added a check to prevent it from destroying boundaries.
Differential Revision: https://developer.blender.org/D5763
|
|
|
|
changes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This commit introduces flags to tag the PBVH nodes as fully masked or unmasked. This is used in do_brush_actions to filter fully masked nodes during a stroke. Other tools can also be updated to use this flags.
Sculpt updates now require a flag to update the mask or the vertex coordinates.
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D5935
|
|
Reviewed By: jbakker
Maniphest Tasks: T70385
Differential Revision: https://developer.blender.org/D5945
|
|
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D5947
|
|
|
|
Also use MEM_SAFE_FREE to simplify code.
|
|
Easier to experiment with different settings this way.
|
|
This mostly happens automatically anyway since there is usually not enough
time left over for it. But when it does it happen it breaks partial redraw,
and may also have a negative impact on responsiveness.
Ref T70295
|
|
Not all the necessary state got restored.
|
|
|
|
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D5905
|
|
With the previous behavior, it was impossible to manipulate areas with a lot of complex shapes like fingers, as the pose origin was calculated only with the topology inside the radius.
With pose offset, the previous method is used to calculate the direction of the "bone", and an extra offset is added on top of it. This way you can set the pose origin in the correct place in this kind of situations. The pose factor grows to fit the new rotation origin.
Reviewed By: jbakker
Differential Revision: https://developer.blender.org/D5841
|
|
mesh behind
We should not be updating the cache true location there.
This commit also fixes the snake hook default alpha.
Reviewed By: brecht
Maniphest Tasks: T56497
Differential Revision: https://developer.blender.org/D5915
|
|
Reviewed By: jbakker
Differential Revision: https://developer.blender.org/D5814
|
|
There was a mix of old and new constants. Now have one list of WM_CURSOR_*
cursor types, using GHOST standard cursors when available and otherwise falling
back to our custom cursors.
Ref D5197
|
|
No functional changes, just more clear semantic and shorter call.
|
|
The check around function which is only supposed to be used for
non-multires case was gone after aea8c0102ac.
|
|
Don't just rely on a comment next top the code, do an assert as well.
Also, don't use `default` since that silences compiler warnings when
new enumerators are added and related code is to be verified.
More switch statements might need an adjustment, but this is something
what is easier to go over by Pablo.
|
|
Reviewed By: jbakker
Maniphest Tasks: T70140
Differential Revision: https://developer.blender.org/D5878
|
|
Reviewed By: jbakker
Differential Revision: https://developer.blender.org/D5824
|
|
|
|
|