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
2017-11-05Cleanup: spellingCampbell Barton
2017-11-01Cleanup: styleCampbell Barton
2017-10-29BMesh: use heap update for dissolve-decimateCampbell Barton
2017-10-29BLI_heap: minor changes to the APICampbell Barton
Recent addition of 'reinsert' didn't match logic for ghash API. Rename to BLI_heap_node_value_update, also add BLI_heap_insert_or_update since it's a common operation.
2017-10-28Use BLI_heap_reinsert for decimate and beautifyCampbell Barton
Improves performance for high poly meshes, ~70% faster for decimate, only ~10% for beautify.
2017-10-27Fix T53131: Incorrect vert-edge angle calculationCampbell Barton
Vertex w/ a single edge wasn't detected
2017-10-24Fix T53143: Knife Crash after Grid FillCampbell Barton
BM_ELEM_INTERNAL_TAG flag wasn't ensured to be cleared.
2017-10-24Fix edge-split bmesh operator giving empty resultCampbell Barton
2017-10-22Polyfill Beautify: half-edge optimizationCampbell Barton
Was using an edge hash for triangle -> edge lookups, updating triangle indices for each edge-rotation. Replace this with half-edge which can rotate edges much more simply, writing triangles back once the solution has been calculated. Gives ~33% speedup in own tests.
2017-10-20Cleanup: redundant castsCampbell Barton
2017-10-06Cleanup: Math lib naming (use v3 suffix)Campbell Barton
2017-10-04Fix T52923: Circle diameter is in fact radiusCampbell Barton
2017-09-29Drop platform support for Solaris & AIXCampbell Barton
These platforms didn't see maintenance in years. This commit just removes ifdef's & cmake check.
2017-09-26Beauty fill was skipping small facesCampbell Barton
2017-09-19BLI_utildefines_iter: Use for iteration helpersCampbell Barton
2017-09-19Cleanup: BLI_utildefines prefix for header-only libsCampbell Barton
This allows to have different macro headers without them sharing similar names to regular C modules.
2017-09-19Correct recent error in boolean quad split checkCampbell Barton
2017-09-18BMesh: move bridge tools stepping logic into macroCampbell Barton
Also use floor division since regular division was giving a bias on negative error values.
2017-09-15Fix T52384: Bridge pair result depends on other loopsCampbell Barton
When 2x loops have different number of vertices, the distribution for vertices fan-fill depended on the loop order and was often lop-sided. This caused noticeable inconstancies depending on the input since edge-loops are flipped to match each others winding order.
2017-09-15BMesh: use less involved check for edge rotationCampbell Barton
Was using function for edge rotation which was doing unnecessary checks Use the face normal and BLI_polyfill_beautify_quad_rotate_calc directly.
2017-09-15Polyfill Beautify: option to rotate out of degenerate stateCampbell Barton
Needed for 3D iterative edge-rotation to avoid flipping when projected from different angles, but could keep zero area faces in 2D polygons.
2017-09-15Fix error in recent boolean changes w/ quad splitCampbell Barton
2017-09-14Correct error in last commitCampbell Barton
2017-09-14Fix T52748: Select shortest face path failsCampbell Barton
2017-09-14Fix T52291: Boolean fails w/ co-linear edged ngonsCampbell Barton
This means boolean tessellation wont match viewport tessellation however it's needed to avoid zero area triangles causing problems.
2017-09-11Fix T52701: Mesh shortest path fails at boundariesCampbell Barton
2017-09-03Fix T52634: EditMesh Remove doubles could hangCampbell Barton
A single diagonal axis was used for sorting coordinates, the algorithm relied on users not having vertices axis aligned. Use BLI_kdtree to remove doubles instead. Overall speed varies, it's more predictable than the previous method. Some typical tests gave speedup of ~1.4x - 1.7x.
2017-09-01BMesh: use predictable order for remove-doublesCampbell Barton
Each qsort implementation may give different results when values match. Now fallback to sorting by index.
2017-08-26Missed last commitCampbell Barton
2017-08-26Fix T52515: Crash on BMesh.to_mesh()Campbell Barton
2017-08-26Fix minor Mesh -> BMesh conversion issuesCampbell Barton
- Vertex only meshes never restored their selection history. - Select history was cleared on the source instead of the target. Simple Optimizations: - Avoid O(n^2) linked list looping that checked the entire list before adding elements (NULL values in the source array to prevent dupes). - Re-use vert & edge lookup tables instead of allocating new ones.
2017-08-12Fix T52329: Boolean with aligned shapes failedCampbell Barton
Creating ngons with multiple axis aligned shapes in the middle of a single face would fail in some cases. This exposed multiple problems in BM_face_split_edgenet_connect_islands - Islands needed to be sorted on Y axis when X was aligned. - Checking edge intersections needed increased endpoint bias. - BVH epsilon needed to be increased.
2017-08-11Fix bevel clamping bugs T51247 and T50819.Howard Trickey
Old bevel 'Clamp overlap' code was very naive: just limit amount to half edge length. This uses more accurate (but not perfect) calculations for the max amount before (many) geometry collisions happen. This is not a backward compatible change - meshes that have modifiers with 'Clamp overlap' will likely have larger allowed bevel widths now. But that can be fixed by turning off clamp overlap and setting the amount to the desired value.
2017-08-01Cleanup: use static vars where appropriateCampbell Barton
2017-07-31Code cleanup: fix warning with clang.Brecht Van Lommel
2017-07-29Cleanup: multistatement-macros warningCampbell Barton
2017-07-15Fix T52066: Grid Mesh UV's aren't correctCampbell Barton
2017-07-13Cleanup: Fix MSVC warning messageAntonio Vazquez
The const key is required by compiler to avoid warning
2017-07-12BMesh: move safe loop-normal-calc to own functionCampbell Barton
This makes sense when we want to avoid float precision error for near co-linear edges. OTOH, this is an arbitrary decision, so keep functions separate.
2017-07-11Resolve T51745: Mesh extrude keep-orig needs edgesCampbell Barton
Document to avoid confusion when called from Python.
2017-06-28Fix own really stupid mistake/typo in previous commit...Bastien Montagne
2017-06-28Fix T51900: Crash after pressing "F" multiple times.Bastien Montagne
`BMO_iter_as_array()` may fill less items than requested in given array, so we have to update number of items to work on from its returned value, otherwise code might try to use uninitialized memory.
2017-06-15Math Lib: add angle_on_axis_v3v3_v3Campbell Barton
Use for calculating the angle between 2 directions on an axis. Also signed version and normalized plane projection, use when input is normalized.
2017-06-09Fix T51648: Inconsistent edge collapse point depending on orientationLuca Rood
Edge collapse was using bounding box center as the point to collapse to. When collapsing multiple adjacent edges together, this caused inconsistencies in placement of the collapsed point, depending on the orientation of the edges in relation to the space axis. This makes edge collapse use the mean point instead.
2017-06-08Fix T51733: 3d print toolbox checks report false positives.Bastien Montagne
Colinear vertices in a same face would not be handled correctly.
2017-06-07Bevel Op (internal and API) now returns new edges and verts as well asHoward Trickey
faces. This was requested by script writers. Especially needed if beveling wire edges with vertex_only. Should be backward compatible as just adds two new keys to returned dict in python ('edges' and 'verts').
2017-05-29Fix T50906 and T49361, bevel didn't curve in plane sometimes.Howard Trickey
2017-05-28Fix T48996, bevel bad for certain in-plane edges.Howard Trickey
2017-05-23Fix T48668, bevel mistake on presumed reflex angle.Howard Trickey
Note: the angle in bug isn't really reflex - using the vertex normal for this test isn't always right, but usually is. At any rate, shouldn't try to put vertex on edge between if a reflex angle.
2017-05-18Correct last commitCampbell Barton
VERT_VISIT was used in a nested function.