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
2012-07-09code cleanupCampbell Barton
2012-07-07style cleanup: use c style comments in C codeCampbell Barton
2012-07-07code cleanup: dont use function calls like dot_v3v3, pow and sqrt within ↵Campbell Barton
macros which results in calling the function multiple times needlessly. also added some comments.
2012-07-07decrease size for convex hull epsilon when checking which side of a face the ↵Campbell Barton
vertex is on. this doesnt fix all cases but works better then it did.
2012-07-06style cleanup: var namesCampbell Barton
2012-07-06Fix [#32003] Triangulate fails for simple case.Bastien Montagne
Main problem was in poly_rotate_plane() (which rotates a ngon to make its normal aligned with Z axis), it did not handled the case where the normal was aligned but opposite to the Z axis (which had the consequence that, as with the T mesh of the given blend, all tested new edges inside face were detected as outside, and vice-versa...). Additionnaly, I made a mistake in previous Triangulate commit (r48243) in bm_face_goodline, which could allow a few invalid triangles in some specific cases, fixed! And done a bit of cleanup, as I was at it.
2012-07-05code cleanup: use a define for bmesh hull epsilonCampbell Barton
2012-07-04More spell checking.Bastien Montagne
2012-07-03add bmesh/python operator support for vector and matrix args.Campbell Barton
also rename BMO_OP_SLOT_PNT to BMO_OP_SLOT_PTR (matches RNA and sounds less like 'point')
2012-07-01style cleanup: commentsCampbell Barton
2012-07-01fix for own error renaming bmesh operator dupeCampbell Barton
2012-06-30rename bmesh ops since they are exposed in an api now.Campbell Barton
2012-06-30add support for passing lists of verts/edges/faces to bmesh operatorsCampbell Barton
2012-06-30all bmesh operators can now be accessed from bmesh.ops.* using a generic ↵Campbell Barton
wrapper, argument parsing still needs to have support added for vector, matrix and element types.
2012-06-30code cleanup: rename some members of bmesh operators, 'slots' is a C++ ↵Campbell Barton
keyword which confuses some IDE's. also added missing BMO_op_vinitf args to comments.
2012-06-29Fix #31951 Subdivide with multires splits uvs.Antony Riakiotakis
The bug is related to 31581 and the main cause is the small offset that BM_loop_interp_from_face introduces before calculating barycentric weights. Solved by only calculating displacement layer.
2012-06-28code cleanup: cmake buildsystem edits, unused var warnings and better ↵Campbell Barton
description for WITH_PYTHON_MODULE. also disable workaround for some linux installs.
2012-06-27Avoid adding overlapping triangles in convex hullNicholas Bishop
Add an epsilon value to the point-outside-hull test, helps when some of the input vertices are nearly coplanar. Fixes bug [#31941] convex hull fails (and depends on vertex order when it shouldn't) http://projects.blender.org/tracker/index.php?func=detail&aid=31941&group_id=9&atid=498
2012-06-27style cleanupCampbell Barton
2012-06-27Fix for #31581, UVs shrink on edge slide.Antony Riakiotakis
Issue is that all loops of a face adjacent to the sliding verts were getting project-corrected. Introduced a test to only project the affected loops. The projection code introduces a small offset to the boundaries so that any boundary tests can work as expected, but this leads to shrinking of the barycentric coordinates of the projection, causing a shrink of the uvs in turn. This even affects the uvs that -should- be affected though the unfixed behavior works strangely in a correctish way (my guess is because the projection uses the same face as the opposite sliding loop). I fixed the behaviour by taking the mean value of the uvs. This won't support seams but current code doesn't either. Also, all CustomData to exhibit this unfixed behaviour. I only fixed the uv case, other data (Vcolors, etc) will have discontinuities when edge sliding. I expect that the CorrectUV code I am working on may address some of these issues. Also, added NULL checks for utility function (was intended for this bug but wasn't needed after all)
2012-06-27Utility function to get the first loop of a vert. Behaves identical toAntony Riakiotakis
the iterator initialization function.
2012-06-27bmesh.ops module for bmesh operator access, only remove_doubles and ↵Campbell Barton
convex_hull at the moment.
2012-06-24Fix [#31807] Ngon triangulation errorBastien Montagne
Notes: *This implements a quite simple algorithm, which simply checks angles (actually, absolute cosines) of created tri and remaining face (which may be a tri, quad, or more NGon), so that both are "best" (ie avoid as much as possible too much narrow/wide corners), and also checks the new edge is OK (i.e. does not goes "out" of original face). *Incidently, it fixes a typo in that bm_face_goodline() func! *It's quite performant (a bit quicker than previous code, as far as I have tested it) and prevent creation of completely flat triangles as much as possible, but it's far from being a "best" solution (as it is still a "progressive" one)! *It also introduces a new math func (in BLI_math_vector.h), cos_v3v3v3, which computes cosine (ie dot product of normalized vectors) and is roughly a quicker replacement for angle_v3v3v3, when real angles are not needed.
2012-06-24style cleanypCampbell Barton
2012-06-15Added option in shift-g to select verts by number of connected edges (valence).Joseph Eagar
2012-06-13patch [#31574] Screw seams to not workCampbell Barton
from Benoit Donat-Bouillud (ladeheria) from tracker - When using a screw axis (reference edge for screw), the operation always give the same result (as if the orientation of the reference edge was not take into account).
2012-06-11Fix incorrectly deleted elements in array modifier caps.Nicholas Bishop
Add check for merging vertices into vertices that are themselves marked for merge, was already done for array eleements but not end caps. Fixes bug [#31695] Array Modifier: End Cap fails if all vertices are merged Also corrected some reversed assert arguments.
2012-06-11quiet warningCampbell Barton
2012-06-09code cleanup: doxy comment filename correctionsCampbell Barton
2012-06-07style cleanupCampbell Barton
2012-06-03fix [#31674] BMesh Corrupt Stack around BMVert array "verts" - ONLY ON DEBUG ↵Campbell Barton
VERSION
2012-05-28style cleanup: defines with bracesCampbell Barton
2012-05-27style cleanupCampbell Barton
2012-05-27code cleanup:Campbell Barton
style and remove BM_face_find_longest/shortest_edge functions, ... instead use BM_face_find_longest/shortest_loop()->e
2012-05-24code cleanup: fix possible use of uninitialized value and remove dead ↵Campbell Barton
initializations.
2012-05-22style cleanup: relating to skin modifierCampbell Barton
2012-05-22use faces longest edge when orienting the manipulator to the active faceCampbell Barton
also small speedup for finding the longest edge
2012-05-22Clear skin root flag on new vertices created by extruding.Nicholas Bishop
Skin modifier documentation: http://wiki.blender.org/index.php/User:Nicholasbishop/SkinModifier
2012-05-22Add new BMesh length query functions.Nicholas Bishop
BMEdge *BM_face_find_shortest_edge(BMFace *f); BMEdge *BM_face_find_longest_edge(BMFace *f); Reviewed by Campbell Barton.
2012-05-22Fix for customdata layer copying. Issue was caused by mixing up of ↵Andrew Hale
destination and source in copy function. Also fixed an error in Py API, check to see if layers were different should be check to see if they're the same.
2012-05-22fix [#31489] EdgeSplit modifier prevents All Edge to be work correctly since ↵Campbell Barton
2.63 bmesh regression where the edge-draw flag was cleared when bmesh modifiers were used.
2012-05-21fix for error pointed out by Nicholas Bishop, BM_edge_face_pair & ↵Campbell Barton
BM_edge_loop_pair returned TRUE for single face user edges.
2012-05-21code cleanup: spellingCampbell Barton
2012-05-20code cleanup:Campbell Barton
- style - multi-line ifs move braces onto new lines. - iterators - convert some to macros, other split up and move brace.
2012-05-19code cleanup: use TRUE/FALSE rather then 1/0 for better readability, also ↵Campbell Barton
replace do prefix with do_ for bool vars.
2012-05-18style cleanup: and add missing files to cmakeCampbell Barton
2012-05-17style cleanup: block commentsCampbell Barton
2012-05-16Code cleanup: simplify standard GHash creation.Nicholas Bishop
Added four new functions as shortcuts to creating GHashes that use the standard ptr/str/int/pair hash and compare functions. GHash *BLI_ghash_ptr_new(const char *info); GHash *BLI_ghash_str_new(const char *info); GHash *BLI_ghash_int_new(const char *info); GHash *BLI_ghash_pair_new(const char *info); Replaced almost all occurrences of BLI_ghash_new() with one of the above functions.
2012-05-15Partial fix for bug #31458 Convex Hull operator crashNicholas Bishop
Change hull's point/triangle side test to > rather than >=. This seems to fix the (infinite?) loop, but not the crash.
2012-05-15Fix precision issue for bmo_hull.interior_geom output slot.Nicholas Bishop
Keep track of interior verts during the hull build to avoid imprecise floating-point test afterward.