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
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2020-03-16Fix incorrect Face Sets when using mask extractPablo Dobarro
Mask extract modifies the topology when adding the boundary loop, so previous face sets may not be correct in the new mesh. Remove the face sets datalayer and let sculpt mode rebuild it when entering sculpt mode in the new object. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D7129
2020-03-16Fix visual artifacts with partially hidden meshes and mask extractPablo Dobarro
The previous behaivour didn't make sense as sculpt mode was still active when switching to the new object, so it was rendering inconrrectly. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D7130
2020-03-11Cleanup: spellingCampbell Barton
2020-03-09Fix T74500: Rebuild the Face Sets datalayer after slicing the geometryPablo Dobarro
Was crashing SculptSession data will not longer be valid if the total number of polys is modified when rendering the mesh again. This deletes all face sets in the mesh when slicing the mask. I'll try to add code to generate a new face set in with faces that are created when filling the holes, but for now this avoids the crash. Reviewed By: brecht Maniphest Tasks: T74500 Differential Revision: https://developer.blender.org/D7049
2020-02-17Fix many typos and other issues in UI messages.Bastien Montagne
2020-02-10Cleanup/refactor: Rename `BKE_library` files to `BKE_lib`.Bastien Montagne
Note that `BKE_library.h`/`library.c` were renamed to `BKE_lib_id.h`/`lib_id.c` to avoid having a too generic name here. Part of T72604.
2020-01-24Fix T71373: Sculpt Mask not extracting correctly on scaled objectsPablo Dobarro
This patch applies the original object scale to the coordinates of the extracted mask mesh. Without this patch, the mesh was no taking the original object scale into account and the shrinkwrap will fail. The other solution would be copying the objecty scale to the new extracted mask object, but I would like to avoid entering sculpt mode with scaled objects as it may produce wrong behaviors in some tools. Reviewed By: jbakker Maniphest Tasks: T71373 Differential Revision: https://developer.blender.org/D6207
2020-01-07Fix T72830: Check if the mesh has mask data before extractig or slicingPablo Dobarro
This was causing a crash when the mesh does not have the mask data initialized. I also added the same check to mask extract as it works the same way. Reviewed By: jbakker Maniphest Tasks: T72830 Differential Revision: https://developer.blender.org/D6513
2019-11-26Fix segfault when polling `MESH_OT_paint_mask_extract`Sybren A. Stüvel
`CTX_data_active_object(C)` returns `NULL` when there is no active object, and this was not tested for in the code.
2019-11-21Sculpt: Mask SlicePablo Dobarro
This operator is similar to Mask Extract, but it deletes the masked points on the original mesh and fills the holes. This can be useful for quickly trimming or splitting an object. This is not meant to be the main trimming tool of sculpt mode. I plan to have a set of trimming tools based on geometry booleans (trim box, lasso, line, bisect...) but in some cases doing a mask selection is more convenient. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D6160
2019-10-31Fix T70687: Deleting sculpting mask extraction causes crashPablo Dobarro
Reviewed By: jbakker Maniphest Tasks: T70687 Differential Revision: https://developer.blender.org/D6042
2019-10-09Fix T70544: Mesh extracted from Mask crash Blender when using DyntopoPablo Dobarro
This commit fixes an assert in mesh_runtime_check_normals_valid Reviewed By: jbakker Maniphest Tasks: T70544 Differential Revision: https://developer.blender.org/D6013
2019-10-03Mesh: simple extract mask optimizationsCampbell Barton
- Avoid per-vertex custom-data lookup - Break once a face has a mask vertex.
2019-10-03Fix extract mask freed memory use & leakCampbell Barton
2019-10-03Fix T70102: Mask Extract bad solutionPablo Dobarro
Reviewed By: brecht Maniphest Tasks: T70102 Differential Revision: https://developer.blender.org/D5978
2019-09-23Modifiers: every modifier now copies mesh settings, fixing texture space issuesBrecht Van Lommel
Modifier stack evaluation would copy mesh settings other than mesh topology automatically, outside of the individual modifier evaluation. This leads to hard to understand code, and makes it unclear which settings are available in following modifiers, and which only after the entire stack is evaluated. Now every modifier is responsible to ensure the mesh it outputs preserves materials, texture space and other settings, or alters them as needed. Fixes T64739: incorrect texture space for various modifiers Differential Revision: https://developer.blender.org/D5808
2019-09-21Revert "Modifiers: every modifier now copies mesh settings, fixing texture ↵Brecht Van Lommel
space issues" This reverts commit e7a514369fe700dcc5a1fe433c8f709ed9595ded, it introduces a bug in selection in edit mode. Fixes T70103: can't select extruded Vertex Ref T64739
2019-09-19Modifiers: every modifier now copies mesh settings, fixing texture space issuesBrecht Van Lommel
Modifier stack evaluation would copy mesh settings other than mesh topology automatically, outside of the individual modifier evaluation. This leads to hard to understand code, and makes it unclear which settings are available in following modifiers, and which only after the entire stack is evaluated. Now every modifier is responsible to ensure the mesh it outputs preserves materials, texture space and other settings, or alters them as needed. Fixes T64739: incorrect texture space for various modifiers Differential Revision: https://developer.blender.org/D5808
2019-09-10Sculpt: Mask Extract operatorPablo Dobarro
This operator extracts the paint mask to a new mesh object. It can extract the paint mask creating a boundary loop in the geometry, making it ready for adding a subdivision surface modifier. Reviewed By: brecht Differential Revision: https://developer.blender.org/D5384