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
2014-02-02Code cleanup: suffix vars to make obvious they are squaredCampbell Barton
2014-02-02Smallhash: add reserve option to avoid resizing when size is knownCampbell Barton
2013-12-24BMesh optimize face splitting by taking loops rather then vertsCampbell Barton
- add BM_vert_pair_share_face - add BM_loop_is_adjacent - remove BM_verts_connect
2013-12-22Style Cleanup: remove preprocessor indentation (updated wiki style guide too)Campbell Barton
2013-12-03Knife Tool: incorrect sized vector args (harmless but misleading)Campbell Barton
2013-11-30BMesh/Mesh: replace scanfill with polyfillCampbell Barton
2013-11-26Fix 37571: Knife Select should be disabled when no faces are selectedCampbell Barton
also check a similar case for bisect
2013-11-18BMesh Refactor: BKE_bmbvh_new can now be created without an EditMesh.Walid Shouman
This adds BM_bmesh_calc_tessellation() so we can get triangles from a bmesh without having to have an editmesh available.
2013-11-08knife tool: Remove unused 'extend' variableSergej Reich
2013-11-08knife tool: Clean up line hits when starting a new cutSergej Reich
Fixes intersection points of the previous cut still being drawn when starting a new cut.
2013-11-06Fix knife bug exposed by valgrind.Howard Trickey
Was reading cage coordinate from those of existing BMVerts even for newly created verts that don't have cage coordinates there.
2013-11-05Rewrote a lot of knife tool. Now allows cut-throughHoward Trickey
to make new vertices in the middle of faces. This also fixes knife bugs: #36678, #35945, #35943, #35387, #35045, #35002.
2013-11-01Add 'cut-through' option for Knife Project operator.Howard Trickey
If enabled, it makes knife project act as the cut-through (Shift-K) version of knife. This option will soon be more useful when a better cut-though Knife change is submitted, allowing this to work for cuts within faces in addition to cuts across them.
2013-10-31remove return argument from wmOperatorType->cancel, was only ever returning ↵Campbell Barton
OPERATOR_CANCELLED.
2013-10-27rename BM_vert_at_index -> BM_vert_at_index_find (since this searches the ↵Campbell Barton
mempool). needed for other changes - coming.
2013-10-13code cleanup: utility function for getting a bool as a string.Campbell Barton
2013-10-10add MEM_SIZE_OPTIMAL to avoid memory fragmentation & waste lost to slop-space.Campbell Barton
2013-10-04fix for lasso selection (in non-zbuf mode) when the line intersected its self.Campbell Barton
isect_point_poly_v2() - add argument to check overlapping areas.
2013-10-01allow knife-project to use sub-pixel length edges.Campbell Barton
2013-09-26quiet warnings (converting pointer to boolean)Campbell Barton
2013-09-25knife was projecting vertex locations to the screen when it wasnt needed.Campbell Barton
2013-09-25fix [#36780] Knife Project brokenCampbell Barton
was regression in r59665 (fix for [#35002]). now when checking a segment that lies on the same plane as the triangle intersects, clip the segment by the triangle bounds so we know the points remain inside the triangle.
2013-09-19Prevent assert failure in knife.Howard Trickey
It seems sometimes a knife edge with the same vertex on both ends was created sometimes.
2013-09-19Fix potential crash in knife.Howard Trickey
A crash was reported but without info to reproduce. This is a likely crash introduced by previous fix to allow linehits to snap to vertices. The function to find connected linehits can't assume all linehits have edges any more.
2013-09-18bugfix: [#34663] Cannot rotate view while using Knife tool with Maya presetDalai Felinto
fix as suggested by Ton Roosendaal in tracker: "the knife tool has a "MODE_PANNING" state, it could be nice to set this in the modal map as well, to define the shortcut(s) that have to be passed on."
2013-09-17add support for trackpad navigation while in knife operatorDalai Felinto
I caught this while looking at: [#34663] Cannot rotate view while using Knife tool with Maya preset (though it's not the original report). I'll look at the other operators, there are probably a few in the same situation as knife.
2013-09-07rename cursor setting functions to make modal set/restore more clearly ↵Campbell Barton
related functions.
2013-09-04style cleanupCampbell Barton
2013-09-03Fix a possible bug in knife detected by coverity.Howard Trickey
A selection copy may have been passed a null pointer. Also quieted a couple other complaints by coverity.
2013-08-30quiet compiler warningsCampbell Barton
2013-08-30Some knife fixes. Avoids duplicating verts; better handling of cut-through ↵Howard Trickey
ortho. Now cut lines detect vertices that they pass (almost) exactly over and snap to them, to avoid making verts vert close to other ones. Added radius arg to BKE_bmbvh_ray_cast so that can detect an obscuring face when the ray might otherwise go exactly between two triangles. Needed an isect_line_tri_epsilon function for similar reason. Fixes last part of bug #35002. Other knife bugs still present but getting this commit in now before continuing bug fixing.
2013-08-21use BM_CREATE_NOP arg rather then zero, with pointer and bool args in either ↵Campbell Barton
side in some cases it gets a bit confusing. also correct edge-rotate where bool->flag conversion worked by accident.
2013-08-17style cleanupCampbell Barton
2013-08-13switch arg order for BM_elem_select_copy(), would like to make this constant ↵Campbell Barton
for all bmesh functions eventually.
2013-07-28move alloca define into its own header since its not related to BLI_arrayCampbell Barton
2013-07-24internal bmesh api change: BM_elem_attrs_copy() no longer copies the ↵Campbell Barton
selection flag. this was slowing down modifiers since the selection flags would be copied and flushed to connected geometry.
2013-05-31correct cast to uintptr_t for smallhash use.Campbell Barton
2013-05-26BLI_math rename functions:Campbell Barton
- mult_m4_m4m4 -> mul_m4_m4m4 - mult_m3_m3m4 -> mul_m3_m3m4 these temporary names were used to avoid problems when argument order was switched.
2013-05-08knife tool: use faster method for sort_by_frac_along(), no need to callCampbell Barton
line_point_factor_v3().
2013-05-08knife tool: use the squared distance for comparison.Campbell Barton
2013-05-08knife tool: use 2d vectors for screen coords.Campbell Barton
2013-05-03knife sort_by_frac_along was re-calculating the reference factor for every ↵Campbell Barton
test, change to only calculate once and use line_point_factor_v3(). also add zero division check for line_point_factor_v3() since the 2d version already checked for this.
2013-05-01fix error running ED_view3d_project_float_v3_m4 on 2d vec (thanks Sergey for ↵Campbell Barton
pointing out!), also remove redundant vector copy in knife project.
2013-04-23fix [#35007] clipping border errorCampbell Barton
add clip option to ED_view3d_win_to_ray(), ED_view3d_win_to_segment()
2013-04-18code cleanup: removed unneeded null check in object drawing, some warnings, ↵Campbell Barton
style.
2013-04-18add mesh distort display mode (highlights distorted faces)Campbell Barton
2013-04-18use modified vertex coords for calculating display thickness and intersections.Campbell Barton
internal improvement to editmesh_bvh.c - optionally pass cage-coords as an arg, rather then calculating the coords in BKE_bmbvh_new(), since all callers already have coords calculated. - de-duplicate coords creation function from knife and bmbvhm, move into own generic function: BKE_editmesh_vertexCos_get()
2013-04-16add distance arg to BKE_bmbvh_ray_cast(). currently unused.Campbell Barton
2013-04-16code cleanup: use BKE naming conventions for functions in BKE_editmesh.h and ↵Campbell Barton
BKE_editmesh_bvh.h
2013-04-16move editmesh_bvh.c into blenkernel.Campbell Barton