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
2015-09-13Cleanup: spellingCampbell Barton
2015-09-07Fix T46029. Center ngon in bevel got no attributes or interpolation data.Howard Trickey
2015-09-04Partial revert of warning cleanupCampbell Barton
These warnings are false-positives
2015-09-04Quiet warningsJulian Eisel
We had too many warnings lately... was awaiting that someone would kill them - didn't happen -> goes to my commit ratio! :P
2015-09-03Check for no-op edge separates to quiet asserts when inset individual.Howard Trickey
This causes no change in behavior, since code was alreadying doing a no-op in bmesh_edge_separate if the edge is a boundary. But it tripped an assert, annoying in debug builds. We want to leave assert in bmesh_edge_separate in case callers expect there to be separate loops after this always. So putting test in caller. (Same worry about bmesh_urmv_loop? I checked callers and they appear OK to me - they deal with the no-op return.)
2015-09-01Fix T45939: Crash w/ BMesh.*.sort()Campbell Barton
2015-09-01BMesh: add asserts for BMesh sort ghash lookupsCampbell Barton
2015-09-01Cleanup: redundant castCampbell Barton
2015-08-31error in last commitCampbell Barton
2015-08-31Fix T45954: Inset w/ interpolated vertex colorCampbell Barton
Accumulating ubyte color was overflowing. Thanks to @mont29 for suggested fix.
2015-08-31Math Lib: Add closest_to_plane helper functionsCampbell Barton
- closest_to_plane3 (for float3 planes) - closest_to_plane*_normalized_v3 (for unit length planes) Use when the plane is known to be unit length
2015-08-22Cleanup: spellingCampbell Barton
2015-08-20BVH-overlap: add callback to BLI_bvhtree_overlapCampbell Barton
The callback checks if 2 nodes intersect (not just their AABB). Advantages: - theres no need to allocate overlaps which are later ignored. - expensive intersection tests will run multi-threaded. Currently only used for Python API.
2015-08-19Cleanup: style + doxyCampbell Barton
2015-08-18Refactor translation code out of blenfontCampbell Barton
- Add blentranslation `BLT_*` module. - moved & split `BLF_translation.h` into (`BLT_translation.h`, `BLT_lang.h`). - moved `BLF_*_unifont` functions from `blf_translation.c` to new source file `blf_font_i18n.c`.
2015-08-16Fix T39486, screwed object bevel made bevel amount go out of control.Howard Trickey
There is an adjustment pass in bevel that tries to make the bevel widths at either end of a beveled edge as equal as possible. When there are hundreds of beveled edges end-to-end, these adjustments can accumulate out of control and result looks awful. Yet the adjustment pass is sometimes needed to avoid equally awful appearances in other cases (see the "Bent test" in the bevel regression tests). This change uses the 'Clamp overlap' flag of bevel (on by default in the modifier, not in the tool) to limit the amount of adjustment to within 10% of the desired width. When the flag is off, there is no limit to the adjustment.
2015-08-16Fix T45795, bevel treated one-edge-beveled case inconsistently.Howard Trickey
When one edge is beveled at a vertex among more than 1 other unbeveled edges, the code makes a polygon around the vertex. The position of the vertices on the non-adjacent-to-beveled-edge edges depended on the ordering of edges, which leads to inconsistent-looking results in seeming symmetrical situations. Changed to use the bevel amount as slide distance, which fixes this.
2015-08-14Fix T40070, Bevel didn't bend as expected sometimes.Howard Trickey
Two problems fixed. One, the comparison of angles to 'almost straight' or 'almost zero' needed a bigger epsilon. Two, using the corner normal instead of the average face normal is usually the right thing to do, and what the code was doing, but in some cases the corner normal could be very wrong.
2015-08-14Remove already-ifdef'ed out PRE_275_ALGORITHM code from bevel.Howard Trickey
The new algorithm has soaked enough that we are unlikely to go back now.
2015-08-14Cleanup: styleCampbell Barton
2015-08-12Fix T44049, edge bevel with sometimes breaks UVs.Howard Trickey
Fairly large changes to bevel code to do a better job of keeping UVs from crossing islands, etc. Updated http://wiki.blender.org/index.php/Dev:2.5/Source/Modeling/Bevel to explain algorithm used for maintaining UVs. Updated the bevel_regression.blend tests in lib tests.
2015-08-06Cleanup: whitespace, unused varCampbell Barton
2015-08-05Fix selecting linked edgesCampbell Barton
2015-08-03Fix T45620: Coplanar faces w/ flipped normals not selectedCampbell Barton
2015-08-03Cleanup: remove redundant normalizeCampbell Barton
2015-08-02correct ifdefCampbell Barton
2015-08-01Fix T45582: Connect vertex hangsCampbell Barton
With multiple branches it was possible the search could run for a long time, especially when there was no possible path to the target. Now use a heap to keep track of the best path and finish immediately once its reached.
2015-08-01BMesh connect pair, fallback to identity matrixCampbell Barton
For overlapping vertices, a matrix for the operation can't be calculated.
2015-08-01Docs: doxy cleanup/minor editsCampbell Barton
2015-07-31Docs: doxy correctionsCampbell Barton
2015-07-29Triangulate wasn't clearing arena after each useCampbell Barton
2015-07-25Cleanup: double-promotion warningsCampbell Barton
2015-07-21Fix T45455: Select linked issue w/ hidden facesCampbell Barton
2015-07-20Correct own error w/ recent changes to triangulateCampbell Barton
2015-07-14Match face tessellation order in edimodeCampbell Barton
add a negated version of axis_dominant_v3_to_m3
2015-07-06Fix T45331, a bevel regression for 2.75.Howard Trickey
Got bad results when two beveled edges form straight line and there are two or more unbeveled edges attached to either side of the connecting vertex.
2015-07-05Add 'loop slide' option to bevel. See T45260Howard Trickey
Current behavior of bevel is to 'loop slide' along unbeveled edges when possible, but this produces uneven bevel widths sometimes, so this option lets user choose between having the loop slide effect or having more even bevel widths. Trying it out with default being 'no loop slide', so different from current behavior. May reverse this choice later, depending on user reactions.
2015-07-01Cleanup: use cross_v2v2 functionCampbell Barton
2015-06-24Fix edge/vert slide UV-correct & zero length edgesCampbell Barton
When calculating loop angle weighting, skip overlapping vertices.
2015-06-21Cleanup: quiet warningCampbell Barton
2015-06-21BMesh: replace BLI_array -> BLI_stackCampbell Barton
Also use more direct custom-data access.
2015-06-20BMesh: simplify join-tri'sCampbell Barton
2015-06-20BMesh: minor optimization for UV island walkerCampbell Barton
2015-06-19avoid assert with bmesh insetCampbell Barton
2015-06-18Fix leak in edge-offsetCampbell Barton
2015-06-17BMesh: Add edge-offset option: cap-endpointCampbell Barton
Creating triangles at endpoints is often not so good, disable by default.
2015-06-16Fix own mistake selecting linkedCampbell Barton
2015-06-16Cleanup: styleCampbell Barton
2015-06-15Add missing fileCampbell Barton
2015-06-15BMesh: edge-offset feature (Ctrl+Shift+R)Campbell Barton
Ability to quickly add 2x edge loops on either side of selected loops.