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-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).
2016-06-23Correct recent change to edge-netCampbell Barton
Need account for cases where vertex connects a single edge.
2016-06-23Correct assertCampbell Barton
2016-06-21Fix null-pointer freeCampbell Barton
Own error in recent decimeter commit
2016-06-21Fix T48683: Knife cut creates holeCampbell Barton
BM_face_split_edgenet wasn't correctly detecting boundary vertices to walk over, since vertices may be attached to boundary edges not part of the newly created face.
2016-06-21BMesh: avoid verts-of-edge iteratorCampbell Barton
Since this function is called a lot, loop over data directly.
2016-06-20Fix building for Windows after 57cff46v (booleans unitialized)Dalai Felinto
2016-06-17Fix T48667: Bisect-fill crashCampbell Barton
BMO iterator would loop over removed faces. Recent changes to mempool FREEWORD size exposed this bug.
2016-06-16Correct error in recent commitCampbell Barton
2016-06-16BMesh Decimate: use doubles to calculate optimized positionCampbell Barton
This allows the error threshold for calculating the optimized location to be much lower. Resolves visible artifacts w/ 1m-tri happy-buddha example.
2016-06-15BMesh Decimate: support ngonsCampbell Barton
2016-06-15Fix error splitting convex facesCampbell Barton
Created double faces, leaked memory.
2016-06-14Fix T48154: Decimate topology changes with scaleCampbell Barton
This can't be avoided completely, however the threshold used can be much lower.
2016-06-13Fix T48616: Auto-merge selects extra edgesCampbell Barton
Auto-merge caused all edges between selected vertices to be selected. This only makes sense in vertex-select-mode. Correct edge-flag merging code, which now merges flags from multiple edges.
2016-06-12bmesh py api: expose BM_face_calc_tangent_*Campbell Barton
D1988 by @wisaac, with own edits and improvements. This improves on existing tangent calculation functions too. - BM_face_calc_tangent_auto: Chooses method based on number of sides, used by manipulator (not exposed to Python). - BM_face_calc_tangent_edge: from longest edge. - BM_face_calc_tangent_edge_pair: from longest edge-pair (most useful with quads). - BM_face_calc_tangent_edge_diagonal: edge farthest from any vertex. - BM_face_calc_tangent_vert_diagonal: vert farthest from any vertex. Also optimize BM_vert_tri_calc_tangent_edge* functions to avoid sqrt.
2016-06-01Fix bug where corner boundary was straight when it should curve.Howard Trickey
Some adjustments to how bevel edge 'profiles' are adjusted in some cases. For the bug fix, wanted to handle cases of middle of three coplanar beveled cases to make profile curve rather than linear interpolate. Also undid an earlier decision to make profile plane be perpendicular to beveled edge i the non-coplanar case.
2016-05-26BMesh: don't alloc zero sized select elem arrayCampbell Barton
2016-05-25Fix T47257: bevel crash when there are internal faces.Howard Trickey
Bevel had assumed that when rebuilding a face that touches a vertex with beveled edges, the edges of the face at that vertex would be adjacent in internal order. That is not necessarily true if there are edges with more than two faces attached. We could just prohibit beveling any edges that touch a vertex where this happens (we already don't bevel non-manifold edges) but the use case in the model of T47257 seems reasonable. Also had to fix the edge-ordering code, and the face reconstruction code to take care of cases where the face normal may not be as expected.
2016-05-14Fix Cube generated UV's rotated incorrectlyCampbell Barton
2016-05-13Correct BM_iter_mesh_bitmap_from_filter returnCampbell Barton
2016-05-12Fix T48413: editmesh intersect tool crashCampbell Barton
Its important to add tri-edge intersections from both sides.
2016-05-12Correct debug printsCampbell Barton
2016-05-12BMesh: avoid calling delete operator w/ face dissolveCampbell Barton
In nearly all cases this isn't needed.
2016-05-12Recent bmesh face-join caused regression (T48407)Campbell Barton
2016-05-11BMesh: ignore non-manifold face connectionsCampbell Barton
Was showing an error message, now dissolve the faces that and delimit at non-manifold boundaries.
2016-05-11BMesh: add BMW_ISLAND_MANIFOLDCampbell Barton
An island walker that only walks over manifold edges.
2016-05-11BMesh Island Walker: use direct loop accessCampbell Barton
2016-05-11BMesh: remove exception from face-join functionCampbell Barton
Callers need to check for NULL, if we need to know exact cause it could be a return arg.
2016-05-11BMesh: boundary walker, skip non-manifold loopsCampbell Barton
Instead of setting an exception, treat non-manifold edges as boundaries.