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
2019-04-18Cleanup: add trailing commas to avoid right shiftCampbell Barton
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-03-27Cleanup: style, use braces for bmeshCampbell Barton
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-01-15Cleanup: commas at the end of enumsCampbell Barton
Without this clang-format may wrap them onto a single line.
2018-06-04Cleanup: strip trailing space in bmesh moduleCampbell Barton
2018-02-01Cleanup: rename BLI_*_empty() -> clear()Campbell Barton
Consistent with other BLI API's
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-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.
2015-05-30Fix leak in BMesh convex hull operatorCampbell Barton
2015-05-05Cleanup: function arg wrappingCampbell Barton
2015-01-13Cleanup: consistent arg order in bmeshCampbell Barton
2014-04-08GHash/Edgehash: make simple iterator checking functions inline.Campbell Barton
also remove NULL check, only a few areas made use of this.
2014-04-08Mempool: delay allocating an initial chunk, its not always usedCampbell Barton
2014-04-05Mempool: remove BLI_MEMPOOL_SYSMALLOC, MEM_* allocs are more efficient nowCampbell Barton
2014-02-05Code cleanup: use bool for static methodsCampbell Barton
2013-09-10misc minor changesCampbell Barton
- make cmake osx use of -ftemplate-depth match scons. - use array size within sizeof(), more compact. - replace AT with __func__ where the function is unique enough. - BLI_box_pack_2D -> 2d to match other functions. - rename new mesh normal calculation to mesh.calc_normals_split()
2013-08-26replace hashes with sets where possible.Campbell Barton
2013-08-21bmesh api cleanup, face creation args now accept an example face (as with ↵Campbell Barton
vertex and edge), also replace BM_face_create_quad_tri_v with BM_face_create_verts
2013-08-18improved BM_face_copy_shared to copy from more possible connected loops and ↵Campbell Barton
add filter function (not used yet).
2013-03-30code comments: bmesh operator doxy header descriptions.Campbell Barton
2013-03-26code cleanup: operator headersCampbell Barton
2013-03-04patch [#34103] use boolean in path functions and add comments.Campbell Barton
path_util_1.patch from Lawrence D'Oliveiro (ldo)
2013-03-01style cleanup: braces with multi-line statements, also add some comments.Campbell Barton
2013-01-14use booleans for bmesh api.Campbell Barton
2012-11-29fix [#33029] Applying modifier leaks memoryCampbell Barton
Thanks for Sergey for finding the bug & patching, This fix works a bit differently. Theres no need to allocate the customdata in the first place - since its written into. So add a flag for vert/edge/face/loop creation functions so they can skip customdata creation.
2012-11-28bmesh operator naming - use clearer names for args eg: (mat -> matrix, ↵Campbell Barton
use_singleedge -> use_single_edge) also remove duplicate docs for operator arg formatting.
2012-11-20code cleanup: make bmesh operator names more consistant since python has ↵Campbell Barton
access to these as input arguments and return values. all output values currently have ".out" suffix, this may go in the future, but for now it makes it clear in C code what are inputs and outputs.
2012-11-19use input and output slots for bmesh operators, needed for the python api to ↵Campbell Barton
get return values.
2012-11-19bmesh: BM_verts_in_face was using bmesh operator flag which is no longer ↵Campbell Barton
ensured to be available, use internal apiflag instead, Thanks to Nicholas Bishop for spotting. also quiet some warnings.
2012-11-12replace BM_edge_face_count with ↵Campbell Barton
BM_edge_is_manifold/BM_edge_is_wire/BM_edge_is_boundary
2012-11-09style cleanup: indentationCampbell Barton
2012-10-25Various convex hull fixesNicholas Bishop
* Lower the required number of vertices from four to three. The new backend correctly outputs a triangle in this case. * Fix the check for the number of input vertices. Before it was counting total number of input elements including edges and faces. * Don't mark edges as holes if they are loose. * Don't allow duplicate faces to be created. * If use_existing_faces isn't enabled, but a face in the convex hull has the same vertices as an existing face in the mesh, mark it as output geometry rather than interior geometry. * Fixes bug [#32960] Convex hull operator crashes when 'make holes' is selected. projects.blender.org/tracker/?func=detail&atid=498&aid=32960&group_id=9
2012-10-24Partially replace convex hull implementation with Bullet implementationNicholas Bishop
* Bullet's convex hull implementation is significantly more robust than the one I implemented, as well as being faster. * This fixes bug [#32864] "Convex Hull fails in some cases." projects.blender.org/tracker/?func=detail&aid=32864&group_id=9&atid=498 That bug, and others like it, relate to the poor handling of co-planar surfaces in the input. Pretty much any model that is simple-subdivided a few times gave very bad results before, Bullet's implementation handles this much better. * In order to ensure a smooth transition, the Bullet output is translated into the existing HullTriangle hash structure. This makes it easy to ensure that the existing slot output stays the same; the interactions between the slots are somewhat complicated, detangling is a TODO. * Reviewed by Brecht: https://codereview.appspot.com/6741063
2012-09-15quiet -Wmissing-prototypes warnings, and enable this warning by default for ↵Campbell Barton
C with gcc. helps for finding unused functions and making functions static, also did some minor code cleanup.
2012-07-17code cleanup: spellingCampbell 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-05code cleanup: use a define for bmesh hull epsilonCampbell Barton
2012-07-01style cleanup: commentsCampbell Barton
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-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.
2012-05-04Small hull bmop fix, distance check from plane needs absolute value.Nicholas Bishop
2012-05-03style cleanup: formatting and some float/double promotionCampbell Barton