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-05-07Fix T75793: Mirror modifier UV flip only works on first UDIM TilePhilipp Oeser
Was flipping around the 0-1 range, now (optionally) flip around each tile. Also added this option for BMesh bmo_mirror. Reviewed By: campbellbarton Maniphest Tasks: T75793 Differential Revision: https://developer.blender.org/D7460
2020-04-08Fix T67098: Inset causes shape keys to reset exiting edit-modeCampbell Barton
Edit-mesh interactive redo reset the meshes shape-key index. Also copy the selection mode when copying meshes.
2020-04-07Fix T74720: bmesh.ops.delete default context argument does nothingmano-wii
2020-04-07Fix T75128: Select Linked fails when the selection is a delimiterCampbell Barton
Starting select linked failed when the selected vertex or edge was it's self delimiting. Support using these elements for linked select as long as they're part of an isolated selection.
2020-04-07Cleanup: remove unused BM_total_loop_select functionCampbell Barton
2020-04-06Fix displaying edit-mesh measurements with deform modifiersCampbell Barton
Resolves regression from 2.7x
2020-04-05Cleanup: use const for 'clnors' argument where possibleCampbell Barton
2020-04-05Cleanup: macro hygiene, parenthesize argumentsCampbell Barton
2020-04-03Code Quality: Replace for loops with LISTBASE_FOREACHDalai Felinto
Note this only changes cases where the variable was declared inside the for loop. To handle it outside as well is a different challenge. Differential Revision: https://developer.blender.org/D7320
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2020-03-15Cleanup: redundant checksCampbell Barton
In some cases moved the checks into asserts, to ensure changes in the future don't cause the checks to become necessary again.
2020-03-09Cleanup: Replace ABS/SQUARE/CUBE with function callsSergey Sharybin
While it might be handy to have type-less functionality which is similar to how C++ math is implemented it can not be easily achieved with just preprocessor in a way which does not have side-effects on wrong usage. There macros where often used on a non-trivial expression, and there was at least one usage where it was causing an actual side effect/bug on Windows (see change around square_f(sh[index++]) in studiolight.c). For such cases it is handy to have a function which is guaranteed to have zero side-effects. The motivation behind actually removing the macros is that there is already a way to do similar calculation. Also, not having such macros is a way to guarantee that its usage is not changed in a way which have side-effects and that it's not used as an inspiration for cases where it should not be used. Differential Revision: https://developer.blender.org/D7051
2020-03-06Cleanup: Fix forward declaration of headersDalai Felinto
2020-03-06Cleanup: use MEM_recallocN_idCampbell Barton
2020-02-26Cleanup: reduce CDDM use, remove unused function callsCampbell Barton
2020-02-20Fix missing error message on convex hull failureCampbell Barton
Also remove unused errors.
2020-02-14BMesh: stop BM_mesh_elem_index_validate from setting indicesCampbell Barton
This prevented indices from being set to temporary values, which is needed in some situations.
2020-02-07Cleanup: use of 'unsigned'Campbell Barton
- Replace 'unsigned' used on it's own with 'uint'. - Replace 'unsigned const char' with 'const uchar'.
2020-01-27Fix T59804: Expose hidden bmesh.ops.symmetrize options in pythonmano-wii
The operator actually supports a 6-item enum Differential Revision: https://developer.blender.org/D6613
2020-01-21Fix T73295: Incorrect BMesh volume calculationCampbell Barton
Use double precision since volume calculation is susceptible to float precision errors.
2019-11-28BMesh: reduce memory usage existing edit-modeCampbell Barton
- Don't duplicate the original vertices. - Free old geometry before allocating the new geometry.
2019-11-28Fix separating mesh parts breaking vertex parents & hooksCampbell Barton
Follow up on T71865 which only reported the issue for shape keys.
2019-11-27Fix T71865: Separating mesh parts breaks shape keysCampbell Barton
This was an old bug which could be caused by saving after separating. Changes from 79b703bb635e made this fail reliably. Update shape key indices when they may be used again later.
2019-11-27Cleanup: bmesh conversion commentsCampbell Barton
2019-11-27Fix crash exiting edit-mode with an active basis shape keyCampbell Barton
Exposed by T71865, while the bug remains this resolves the crash.
2019-11-26BMesh: support copying & freeing layers by typeCampbell Barton
2019-11-24Cleanup: doxygen commentsCampbell Barton
Also correct some outdated symbol references, add missing 'name' commands.
2019-11-21Object: edit-mode data support for object vertex coordinate accessCampbell Barton
Allows to access/transform/restore edit-mode coordinates in a generic way.
2019-11-21Bevel: Custom Profile and CurveProfile WidgetHans Goudey
Custom profiles in bevel allows the profile curve to be controlled by manually placed control points. Orientation is regularized along groups of edges, and the 'pipe case' is updated. This commit includes many updates to comments and changed variable names as well. A 'cutoff' vertex mesh method is added to bevel in addition to the existing grid fill option for replacing vertices. The UI of the bevel modifier and tool are updated and unified. Also, a 'CurveProfile' widget is added to BKE for defining the profile in the interface, which may be useful in other situations. Many thanks to Howard, my mentor for this GSoC project. Reviewers: howardt, campbellbarton Differential Revision: https://developer.blender.org/D5516
2019-10-24Cleanup: comments, formattingCampbell Barton
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-09-14Cleanup: use const args, variablesCampbell Barton
2019-09-12Cleanup: line breaks with commentsCampbell Barton
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-26Edit Mesh: New option "Split Edges & Faces" to "AutoMerge"mano-wii
Ref T66423 Differential revision: https://developer.blender.org/D5562
2019-08-17Cleanup: spellingCampbell Barton
2019-08-16Cleanup: spellingCampbell Barton
2019-08-12Fix T66922: Merge by distance tooltip text wrongPhilipp Oeser
merge/dissolve distance is actually a maximum, not a minimum Reviewers: campbellbarton Maniphest Tasks: T66922 Differential Revision: https://developer.blender.org/D5462
2019-08-08BMesh: add utility to calculate normal from a vertex cloudCampbell Barton
Extract from BM_verts_sort_radial_plane & simplify.
2019-08-02Fix T68129: Bridge edge loops fails on small edge loopsCampbell Barton
2019-08-01Cleanup: misc spelling fixesCampbell Barton
T68035 by @luzpaz
2019-07-31Spelling fixes in comments and descriptions, patch by luzpazBrecht Van Lommel
Differential Revision: https://developer.blender.org/D3744
2019-07-30BLI_task: Cleanup: rename some structs to make them more generic.Bastien Montagne
TLS and Settings can be used by other types of parallel 'for loops', so removing 'Range' from their names. No functional changes expected here.
2019-07-24Fix T65980: Boolean crash with many intersections on a single faceCampbell Barton
2019-07-07Cleanup: spellingCampbell Barton
2019-06-26Cleanup: un-wrap lines in headers, use doxy commentsCampbell Barton
2019-06-24Fix T66030: [CRASH] Modifying Normals with Skin Modifier.Bastien Montagne
clnor editing code was simply not checking at all whether it has something to work on... Guess nobody had idea to edit custom normals on a mesh that has no normals before! :P This should probably be handled in a poll function too, to completely disable those tools when there are no faces/loops, but let's keep it to minimal changes at that point.
2019-06-16Fix T65809: Blender crash while using the Normal's "merge" option in edit mode.Bastien Montagne
Merge code will generate temp normal editing data for affected loops, but since it will later (by setting some edges/faces to smooth) alter and extend affected clnor spaces, it will also need temp normal editing data for some other loops around those vertices... Using those clnor editing data in that code is a bit of an abuse, but on the other hand that struct stores exactly what we need. So simply added an option to generate that editing data for all clnors of affected vertices.
2019-06-12Cleanup: spelling in commentsCampbell Barton
2019-05-31Cleanup: style, use braces in source/ (include disabled blocks)Campbell Barton