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
2018-06-17Merge branch 'master' into blender2.8Campbell Barton
2018-06-17Cleanup: use clamp_* from BLI_math (replace macro)Campbell Barton
2018-06-15Merge branch 'master' into blender28Campbell Barton
2018-06-15Fix T55490, intersect two triangles fails.Howard Trickey
Need to use the 'use_partial_connect' option in island connect, so changed signatures of various functions to pass that into and then down from BM_mesh_intersect (making true for intersect, false for boolean). Then fix bm_face_split_edgenet_partial_connect to work when input edges are not necessarily wire, but at least not in the face they are being connected in. That caused generalization of core BM_vert_separate_hflag_wire (which is only used in this one place in all Blender).
2018-02-15Merge branch 'master' into blender2.8Sergey Sharybin
2018-02-15Cleanup: use '_len' instead of '_size' w/ BLI APICampbell Barton
- When returning the number of items in a collection use BLI_*_len() - Keep _size() for size in bytes. - Keep _count() for data structures that don't store length (hint this isn't a simple getter). See P611 to apply instead of manually resolving conflicts.
2017-09-19Merge branch 'master' into blender2.8Sergey Sharybin
2017-09-19Cleanup: BLI_utildefines prefix for header-only libsCampbell Barton
This allows to have different macro headers without them sharing similar names to regular C modules.
2017-05-06Merge branch 'master' into blender2.8Campbell Barton
2017-05-06bmesh: use 'uint' instead of 'unsigned int'Campbell Barton
no functional changes.
2017-03-06Merge branch 'master' into blender2.8Julian Eisel
Conflicts: source/blender/editors/space_nla/nla_draw.c source/blender/editors/space_view3d/view3d_draw.c
2017-03-05Fix T50855: Intersect (knife) w/o separate doesn't selectCampbell Barton
2016-12-05OpenGL: delete bl_debug_drawMike Erwin
Eliminating this chunk of legacy GL as part of T49043. We can introduce some sort of "debug plate" to fill this need in the future.
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-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 assertCampbell 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-01-12Fix T47164: [Scene.raycast] - True result when it should be False.Bastien Montagne
We cannot use FLT_MAX as initi distance for raycast... Renamed TRANSFORM_DIST_MAX_RAY to BVH_RAYCAST_DIST_MAX, moved it into BLI_kdopbvh, and use in RNA raycast callbacks (and all other places using that API).
2015-12-16BMesh: support connecting single-edge island linksCampbell Barton
Handle these cases by temporarily disconnecting the single links to ensure isolated islands, then link back up after.
2015-12-15Cleanup: math lib namingCampbell Barton
Distinguish between line / line_segment
2015-12-13BMesh: don't use total faces to detect editsCampbell Barton
Possible a boolean operation edits the mesh while keeping the same number of faces.
2015-12-13BMesh: no need to tag edges created to fill holesCampbell Barton
Was selecting these edges after applying boolean, which isnt useful since selection is supposed to be along the cuts.
2015-12-12Cleanup: style/spellingCampbell Barton
2015-12-12BMesh: editmode booleans ignored when no faces cutCampbell Barton
For the intersect tool this made sense, but booleans can use cuts which overlap edges exactly.
2015-12-12Correct error in last boolean commitCampbell Barton
Side was flipped
2015-12-11Commend timing prints for booleanCampbell Barton
2015-12-11BMesh: boolean wasn't ignoring hidden facesCampbell Barton
Needed for editmode use
2015-12-11BMesh: Boolean as an edit-mode toolCampbell Barton
Works much the same as intersect operator, expose as a new operator since for users its quite different. Access from face menu. Internally, this adds boolean args to BM_mesh_intersect function.
2015-12-11BMesh: hole support for intersect toolCampbell Barton
Support cutting many outlines into a single face (creating edges between isolated regions).
2015-12-10Fix for mistake in intersect duplicate list checkCampbell Barton
In practice this hardly ever happened.
2015-12-10BMesh: minor optimization for intersectCampbell Barton
Avoid double lookup on insertion ghash
2015-11-26Fix error with intersect handling split-wire edgesCampbell Barton
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-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-05-02BMesh: BM_mesh_edgesplitCampbell Barton
Did quite a few checks not to tag bad splits (which wasn't working perfectly) Instead rely on BM_vert_separate not to create invalid geometry.
2015-05-02Cleanup: bmesh src/dst order in API argsCampbell Barton
2015-05-01Fix a couple of harmless compiler warnings.Brecht Van Lommel
2015-04-30Fix T44484: Edge-split corrupts meshCampbell Barton
Splitting non-manifold edges could produce duplicate edges.
2015-04-13GHash: use unsigned int for ghash_sizeCampbell Barton
2015-04-11BMesh: intersect was using ptr hash for int keysCampbell Barton
2015-02-14Refactor array_utils out of BLI_arrayCampbell Barton
BLI_array.h is for resizing array macros, where as array_utils can operate on any arrays.
2015-01-31Compiler warning: double-promotionCampbell Barton
2015-01-13Cleanup: fixes for building with recent clangCampbell Barton
2014-08-21Fix T41517: BMesh intersect crashCampbell Barton
2014-08-21CleanupCampbell Barton
2014-08-20Correct mistake in recently added intersect toolCampbell Barton
Sorting verts along an edge wasn't working reliably.
2014-08-19Fix for fix (don't guess enum's sign)Campbell Barton
2014-08-18Fix building on some compilers (clang on OSX).Bastien Montagne
Reported and patch by jensverwiebe (jens verwiebe).
2014-08-18BMesh: intersect toolCampbell Barton
Modeling tool to cut intersections into geometry (like boolean, without calculating inside/outside). Faces are split along intersections, leaving new edges selected. Access from Face menu.