Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-10-18Fix T70790: Crash in sculpt mode switching from two meshes after reload ↵Pablo Dobarro
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
2019-10-18Fix T70839: Sculpt brushes stop affecting after using move, rotate or scale ↵Pablo Dobarro
tools Reviewed By: jbakker Maniphest Tasks: T70839 Differential Revision: https://developer.blender.org/D6071
2019-10-15Fix incorrect brush falloff flag useCampbell Barton
Harmless currently since they're the same value, would fail if other options were added.
2019-10-10Sculpt: use TBB instead of BLI_task for multithreadingBrecht Van Lommel
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
2019-10-09Fix multires cursor not displaying the active vertexPablo Dobarro
Reviewed By: brecht Differential Revision: https://developer.blender.org/D6026
2019-10-09Fix T70554: Snake Hook + Ctrl does not set the brush stroke in its normal ↵Pablo Dobarro
direction This commit also fixes the same issue in elastic deform Reviewed By: jbakker Maniphest Tasks: T70554 Differential Revision: https://developer.blender.org/D6014
2019-10-08Sculpt: support automasking, pose and mask expand for multiresBrecht Van Lommel
These were the last remaining new sculpt tools that did not support multires. Performance could be improved still, but it should work. Fixes T68899
2019-10-08Cleanup: minor refactoring of mask expand and floodfillBrecht Van Lommel
2019-10-07Cleanup: rename some sculpt variables for clarityBrecht Van Lommel
2019-10-07Fix T70387: Sculpting with Original Normal rips edgesPablo Dobarro
Reviewed By: brecht Maniphest Tasks: T70387 Differential Revision: https://developer.blender.org/D5982
2019-10-04Sculpt: mesh filter, mask filter and dirty mask now work with multiresBrecht Van Lommel
Thanks to Sergey's neighbor access functions. Mesh filter still needs some improvements to handle open boundaries better.
2019-10-04Subdiv CCG: add utility functions for accessing multires vertex neighborsSergey Sharybin
This is to be used by the new sculpting tools.
2019-10-04Sculpt: Clay Strips brush tweaksPablo Dobarro
- 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
2019-10-03Fix sculpt normal update in SculptDraw brushPablo Dobarro
Reviewed By: brecht Differential Revision: https://developer.blender.org/D5981
2019-10-03Fix T70299: Grab brush not working as expected when Ctrl is pressPablo Dobarro
Reviewed By: brecht Maniphest Tasks: T70299 Differential Revision: https://developer.blender.org/D5920
2019-10-02Use PBVH_FullyMasked flag in mesh filterPablo Dobarro
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
2019-10-02Fix T70324: Layer Brush has bad behaviours and create artifactsPablo Dobarro
Reviewed By: brecht Maniphest Tasks: T70324 Differential Revision: https://developer.blender.org/D5934
2019-10-02Fix bug in nearest_vertex_get_finalizePablo Dobarro
Reviewed By: brecht Differential Revision: https://developer.blender.org/D5965
2019-10-01Sculpt: slight topology rake performance inprovement.Jean Da Costa
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
2019-10-01Cleanup: avoid multiple active vertex loopsBrecht Van Lommel
2019-10-01Cleanup: internal sculpt refactoring related to multires, no user visible ↵Brecht Van Lommel
changes
2019-10-01Cleanup: slightly more efficient access to PBVH multires grid keyBrecht Van Lommel
2019-10-01Cleanup: abstract sculpt floodfill codeBrecht Van Lommel
2019-10-01Cleanup: avoid accessors, reduce memory usage, multithread dirty maskBrecht Van Lommel
2019-10-01Cleanup: make sculpt vertex random access API read-onlyBrecht Van Lommel
2019-10-01Cleanup: prefer PBVH iterator over random vertex access in some placesBrecht Van Lommel
2019-10-01Cleanup: avoid unnecessary brush radius test in mask expandBrecht Van Lommel
2019-10-01Cleanup: don't go through sculpt accessor functions multiple timesBrecht Van Lommel
2019-09-30Cleanup: unused argumentsCampbell Barton
2019-09-30PBVH: PBVH_FullyMasked and PBVH_FullyUnmasked flagsPablo Dobarro
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
2019-09-30Fix T70385: Pose brush breaks when using pose origin offsetPablo Dobarro
Reviewed By: jbakker Maniphest Tasks: T70385 Differential Revision: https://developer.blender.org/D5945
2019-09-30Fix PBVH search callback in pose and elastic deformPablo Dobarro
Reviewed By: brecht Differential Revision: https://developer.blender.org/D5947
2019-09-29Fix (workaround) memory leak cancelling sculpt mask expandBrecht Van Lommel
2019-09-29Fix small memory leaks in some sculpt toolsBrecht Van Lommel
Also use MEM_SAFE_FREE to simplify code.
2019-09-29Cleanup: move sculpt parallel range threading test into functionBrecht Van Lommel
Easier to experiment with different settings this way.
2019-09-29Sculpt: disable workbench anti-aliasing during stroke paintingBrecht Van Lommel
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
2019-09-29Fix wrong sculpt cursor drawing when using "ignore_background_click"Brecht Van Lommel
Not all the necessary state got restored.
2019-09-28Cleanup: compiler warningsBrecht Van Lommel
2019-09-27Sculpt: Use func_finalize instead of mutexPablo Dobarro
Reviewed By: brecht Differential Revision: https://developer.blender.org/D5905
2019-09-27Sculpt: Pose brush origin offsetPablo Dobarro
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
2019-09-27Fix T56497: Snake hook sculpt brush slips off and affects the part of the ↵Pablo Dobarro
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
2019-09-26Fix accumulate in Draw Sharp brushPablo Dobarro
Reviewed By: jbakker Differential Revision: https://developer.blender.org/D5814
2019-09-26WM: clean up cursors constants and codeBrecht Van Lommel
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
2019-09-25Sculpt: Cleanup, use more suitable utility functionSergey Sharybin
No functional changes, just more clear semantic and shorter call.
2019-09-25Sculpt: Fix crash hovering mouse onto multire surfaceSergey Sharybin
The check around function which is only supposed to be used for non-multires case was gone after aea8c0102ac.
2019-09-25Sculpt: Cleanup, grant expected usage with assertsSergey Sharybin
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.
2019-09-24Fix T70140: Topology Automasking and 2D Falloff don't work correctly togetherPablo Dobarro
Reviewed By: jbakker Maniphest Tasks: T70140 Differential Revision: https://developer.blender.org/D5878
2019-09-24Fix crash in dynamic mesh preview edge list updatePablo Dobarro
Reviewed By: jbakker Differential Revision: https://developer.blender.org/D5824
2019-09-23Cleanup: use bracesCampbell Barton
2019-09-21Cleanup: unused headers in editorsCampbell Barton