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-24Merge remote-tracking branch 'origin/master' into soc-2019-nprYimingWu
2019-10-20Fix T70864: Separate loose parts runs indefinitelyCampbell Barton
Large objects with many separate pieces became unstably slow (run for hours and not finish). The entire original mesh was being duplicated twice per loose part. In own tests, millions of vertices and thousands of loose parts now run in around 5-15 seconds.
2019-10-20Mesh: add API functions for poly & loop removalCampbell Barton
These existed for verts & edges, add for API completeness. Also add ED_mesh_geometry_clear, needed to reduce memory for edit-mesh separate.
2019-10-10Fix T70617: mesh.from_pydata() misses first edge if there are facesCampbell Barton
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-10-03Cleanup: unused structs, struct membersCampbell Barton
2019-10-03Fix memory leak in loop-cut error caseCampbell Barton
2019-10-02Revert "UI: use correct singular and plural nouns in report messages"Brecht Van Lommel
Convention is to use (s) postfix for cases where there can be one or multiple, so stay consistent with that. This reverts commit 3e8276311ed17d12e8b47b4fe8e2f68c1ce8c603.
2019-10-01UI: use correct singular and plural nouns in report messagesYevgeny Makarov
Differential Revision: https://developer.blender.org/D5729
2019-09-26Cleanup: clang-formatBrecht Van Lommel
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-25Fix T69639: Bevel Info bar Width value not affected by Unit Scalemano-wii
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-20UI: Fix CapitalizationYevgeny Makarov
Differential Revision: https://developer.blender.org/D5716
2019-09-20Mesh: support face-maps when joiningCampbell Barton
Resolves T64320
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-19Fix T68852: Link select crashes after knife projectPhilipp Oeser
Knife project switches out of vertex selection mode, but wouldnt do this for all participating meshes. Logic in edbm_select_linked_pick would switch the viewcontext multiple times and the meshes selectmode was not in sync then, leading e.g. finding a vertex in 'unified_findnearest' (because last of the meshes selectmode was SCE_SELECT_VERTEX), but then later in 'EDBM_elem_from_selectmode' other meshes selectmode was not matching SCE_SELECT_VERTEX, leading to crash... Reviewers: campbellbarton Maniphest Tasks: T68852 Differential Revision: https://developer.blender.org/D5536
2019-09-18Fix excessive dependency graph evaluation while painting strokesBrecht Van Lommel
Particularly noticeable when vertex painting with a subsurf modifier. In some cases every sculpt or paint stroke step would evaluate the dependency graph. This should only happen for redraws. Now more selectively choose if the dependency graph should be evaluated to initialize the view context. Doing it in the view context evaluation is somewhat hidden, now it's more explicit. Differential Revision: https://developer.blender.org/D5844
2019-09-17DRW: Refactor to support draw call batchingClément Foucault
Reviewers: brecht Differential Revision: D4997
2019-09-14Merge remote-tracking branch 'origin/master' into soc-2019-nprYimingWu
2019-09-14Cleanup: use const args, variablesCampbell Barton
2019-09-14Revert "DRW: Refactor to support draw call batching"Clément Foucault
This reverts commit ce34a6b0d727bbde6ae373afa8ec6c42bc8980ce.
2019-09-13DRW: Refactor to support draw call batchingClément Foucault
Reviewers: brecht Differential Revision: D4997
2019-09-13Cleanup: unused headers (GPU)Campbell Barton
2019-09-12Transform: AutoMerge & Split: Create and merge vertices at edge intersectionsmano-wii
Differential Revision: D5635
2019-09-12Fix T69792: Auto-merge split faces creates faces with unrelated wire edges.mano-wii
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
2019-09-08Edit Mesh: select interior faces now detects regionsCampbell Barton
The previous method only worked in simple cases where faces were surrounded by non-manifold edges. Now face regions surrounded by non-manifold edges are marked as interior. Starting with regions most perpendicular to the surrounding geometry. Resolves T68401
2019-09-05Object: Mode switching operatorCampbell Barton
Remove unused OBJECT_OT_mode_set_or_submode, add OBJECT_OT_mode_set_with_submode which can switch to edit mode as well as a sub-mode - currently only mesh select mode is supported (others may be added later).
2019-09-05Cleanup: reuse mesh select mode enumCampbell Barton
2019-09-04Fix T55745: Checker de-select, inconsistent selectionYevgeny Makarov
With these changes, successive selections result in an even pattern.
2019-09-04Merge remote-tracking branch 'origin/master' into soc-2019-nprYimingWu
2019-09-02Fix T69404: Merge by distance crash with UnselectedCampbell Barton
Error introduced when removing the automerge bmesh operator.
2019-08-30Cleanup: spellingCampbell Barton
2019-08-29Cleanup: unused warningCampbell Barton
2019-08-29Edit Mesh: AutoMerge and Split: Improve detection of the best split facemano-wii
2019-08-29Fix possible endless loop in AutoMerge and Splitmano-wii
2019-08-28Cleanup: remove automerge BMesh operatorCampbell Barton
Move logic into EDBM_automerge since this is meant to run after transform and isn't a generic editing operation.
2019-08-28Cleanup: split automerge logic into own fileCampbell Barton
This isn't closely related to selection & this file was over 5k lines.
2019-08-27Fix Poly Build crash with empty meshesPablo Dobarro
Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D5609
2019-08-27Edit Mesh: Poly build tool improvementsPablo Dobarro
This commit changes the functionality of the Poly build tool to make it more suitable for retopology tasks: - Click and drag from a boundary edge extrudes a new quad - Click and drag on vertices tweaks the position - Ctrl + click adds geometry. There is a geometry preview in the gizmo. It also can automatically convert triangles to quads. - Shift + click deletes mesh elements (faces or vertices) - Updated preselection code. Different mesh elements take priority depending on the selected action. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D5573
2019-08-27Cleanup: rename max_len -> alloc_lenCampbell Barton
2019-08-27Cleanup: struct member name wasn't descriptiveCampbell Barton
2019-08-27Cleanup: unused warningCampbell Barton
2019-08-27Edit Mesh AutoMerge: Improve `Split Edges & Faces` optionmano-wii
Now all wire edges linked to the merged vertex are used for split faces. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D5603
2019-08-26Edit Mesh: New option "Split Edges & Faces" to "AutoMerge"mano-wii
Ref T66423 Differential revision: https://developer.blender.org/D5562