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
2016-11-15BMesh: remove redundant link-list manipulationCampbell Barton
No need to track previous edge in vert-separate cleanup
2016-11-14BMesh: match BM_vert_find_first_loop with iterator logicCampbell Barton
Use changes from previous commit for BM_vert_find_first_loop.
2016-11-14BMesh: avoid extra calls per faces-of-vert iteratorCampbell Barton
- `bmesh_radial_faceloop_find_first` & `bmesh_disk_faceedge_find_first` can be replaced with a single call to a new function: `bmesh_disk_faceloop_find_first` - `bmesh_disk_faceedge_find_first` called `bmesh_radial_facevert_check` which isn't needed, since either the current or next loop in the cycle is attached to the edge we're looking for.
2016-11-14BMesh: use const for BM_vert_face_checkCampbell Barton
2016-11-14BMesh: minor improvement to BM_vert_face_checkCampbell Barton
No need to perform edge-of-vert then loop-of-edge check. Any vertex that has an edge with a face will be connected to a face.
2016-11-14BMesh: fix edge-rotate with w/ flipped facesCampbell Barton
Edge-rotate would randomly flip one of the faces to match the other. Also maintain active-face when rotating the edge.
2016-11-14BMesh: replace iterator with BM_face_vert_share_loopCampbell Barton
2016-11-14BMesh: remove redundant argumentCampbell Barton
2016-11-13BMesh: BM_face_exists no longer uses return argCampbell Barton
Just return the face or NULL, like BM_edge_exists(), Also for BM_face_exists_overlap & bm_face_exists_tri_from_loop_vert. No functional changes. Old code did some partial overlap checks where this made some sense, but it's since been removed.
2016-11-12BMesh: update comments, ifdef'd codeCampbell Barton
2016-11-12BMesh: Minor improvement to face-joinCampbell Barton
Pass in loops instead of edge & faces. Nearly all callers have the loop-pairs to pass in.
2016-11-09BMesh: face-join, remove redundant face assignmentCampbell Barton
Keep ifdef'd out for holes, this isn't needed currently.
2016-11-09BMesh: Cleanup, remove hole ifdefCampbell Barton
2016-11-09BMesh: face-flip, no need for temporary edge-arrayCampbell Barton
Reverse loops in-place.
2016-11-08BMesh: remove edge search when flipping facesCampbell Barton
Replace search with direct lookup.
2016-11-07BMesh: remove redundant edge-split loop initializeCampbell Barton
Would always set both first1 and first2.
2016-11-07BMesh: remove redundant array sizeCampbell Barton
Correct unhelpful comment & some comment edits. Rename 'disk_is_flagged' -> 'bm_vert_is_manifold_flagged', since the check is quite specific.
2016-11-07BMesh: minor improvement to edge-split assignmentCampbell Barton
2016-10-31BMesh: radial loop (internal API symmetry)Campbell Barton
Radial append/remove had swapped args and *slightly* different behavior. - bmesh_radial_append(edge, loop) - bmesh_radial_loop_remove(loop, edge) Match logic for append/remove, Logic for the one case where the edge needs to be left untouched has been moved to: `bmesh_radial_loop_unlink`.
2016-10-31BMesh: simplify vert & edge removalCampbell Barton
2016-10-31BMesh: remove redundant walker member & assignmentCampbell Barton
2016-10-26RangeTree API rewriteCampbell Barton
Rewrite the current range-tree API used by dyn-topo undo to avoid inefficiencies from stdc++'s set use. - every call to `take_any` (called for all verts & faces) removed and added to the set. - further range adjustment also took 2x btree edits. This patch inlines a btree which is modified in-place, so common resizing operations don't need to perform a remove & insert. Ranges are stored in a list so `take_any` can access the first item without a btree lookup. Since range-tree isn't a bottleneck in sculpting, this only gives minor speedups. Measured approx ~15% overall faster calculation for sculpting, although this number time doesn't include GPU updates and depends on how much edits fragment the range-tree.
2016-10-26BMesh: edge-net split, edge selection errorCampbell Barton
In practice I couldn't make this cause a bug, however it's a logical regression in fix for T48716. Thanks to Francesc Juhe for finding.
2016-10-16Fix assert in the wrong place, should be moved earlier to do anything.Chase Willden
Reviewed By: brecht Differential Revision: https://developer.blender.org/D2304
2016-09-28Fix T49471: Vertex Connect randomly broken.Bastien Montagne
Not sure where this comes from, but code was converting BMEdge* to BMVert* to check oflags, i.e. not accessing correct memory. Regression, to be backported to 2.78a.
2016-09-25Quiet shadow warningCampbell Barton
No need to declare new iterator for second loop.
2016-09-24Mesh: added default UVs for Monkey, improved UVs for UV Sphere and Icosphere.Peter Lu
Fixes T47488 and T47478. Reviewed By: brecht Differential Revision: https://developer.blender.org/D2224
2016-09-12Fix T49296, assert failure in Bevel code.Howard Trickey
The mesh interpolation function failed to fill a fractions-of-the-way array properly when the distances are very small but nonzero.
2016-08-18Cleanup: some bad sizeof() usages.Bastien Montagne
2016-08-17Fix Bevel crashes T49088 and T48858.Howard Trickey
Was calling the fast path for finding edge order in cases where it should not have been called.
2016-07-31Cleanup: spelling, styleCampbell Barton
2016-07-22Correct mistake comparing verticesCampbell Barton
2016-07-22Fix T48926: Subdivide edge-ring crashCampbell Barton
Also resolves: T34294
2016-07-22BMesh: compare face angles as angles cosineCampbell Barton
2016-07-20BMesh: improve BM_face_splits_check_legalCampbell Barton
- remove edge scaling, instead avoid checking intersections with connected edges. - replace local line intersection functions with BLI_math - center the projection for more precise calculation.
2016-07-19Cleanup: style, spellingCampbell Barton
2016-07-19Cleanup: style, spellingCampbell Barton
2016-07-16Cleanup: spellingCampbell Barton
2016-07-14Cleanup: comment blocksCampbell Barton
2016-07-08Cleanup: use normalize_v#_lengthCampbell Barton
2016-07-08Cleanup: spellingCampbell Barton
2016-07-07Cleanup: spelling, styleCampbell Barton
2016-07-02BMesh: utility function to resize bmesh elementsCampbell Barton
This can be used to re-allocate bmesh data with/without tool flags. Needed for Symmetrize since it uses bmesh operators from dyntopo.
2016-07-02Cleanup: comment blocksCampbell Barton
2016-07-01BMesh: make toolflags optionalCampbell Barton
Saves 8 bytes per vert/edge/face. Gives overall ~20-25% memory saving for dyntopo sculpting and modifiers that use BMesh.
2016-06-29BMesh Intersect: use flags to keep track of vertsCampbell Barton
For simple cases bitmasks were OK, but didnt work for vert/edge, vert/edge tests. Tag verts instead, makes logic easier to follow and gives minor speedup.
2016-06-27Docs: arg namesCampbell Barton
2016-06-24BMesh: avoid redundant calculations comparing anglesCampbell Barton
2016-06-24Fix T48716: Knife cut creates inverted normalsCampbell Barton
In the case of having 3+ boundary edges, we need to find the best.
2016-06-23Fix T48707: Edit-mesh intersect crashCampbell Barton
In rare cases intersect would attempt to add edges with the same vertex twice from edge-vert / edge-edge intersections. Solve by checking for duplicates when creating vertex-array for these types of intersections (always under 3x comparisons, so not much overhead).