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
2017-07-15Fix T52066: Grid Mesh UV's aren't correctCampbell Barton
2017-07-13Cleanup: Fix MSVC warning messageAntonio Vazquez
The const key is required by compiler to avoid warning
2017-07-12BMesh: move safe loop-normal-calc to own functionCampbell Barton
This makes sense when we want to avoid float precision error for near co-linear edges. OTOH, this is an arbitrary decision, so keep functions separate.
2017-07-11Resolve T51745: Mesh extrude keep-orig needs edgesCampbell Barton
Document to avoid confusion when called from Python.
2017-06-28Fix own really stupid mistake/typo in previous commit...Bastien Montagne
2017-06-28Fix T51900: Crash after pressing "F" multiple times.Bastien Montagne
`BMO_iter_as_array()` may fill less items than requested in given array, so we have to update number of items to work on from its returned value, otherwise code might try to use uninitialized memory.
2017-06-15Math Lib: add angle_on_axis_v3v3_v3Campbell Barton
Use for calculating the angle between 2 directions on an axis. Also signed version and normalized plane projection, use when input is normalized.
2017-06-09Fix T51648: Inconsistent edge collapse point depending on orientationLuca Rood
Edge collapse was using bounding box center as the point to collapse to. When collapsing multiple adjacent edges together, this caused inconsistencies in placement of the collapsed point, depending on the orientation of the edges in relation to the space axis. This makes edge collapse use the mean point instead.
2017-06-08Fix T51733: 3d print toolbox checks report false positives.Bastien Montagne
Colinear vertices in a same face would not be handled correctly.
2017-06-07Bevel Op (internal and API) now returns new edges and verts as well asHoward Trickey
faces. This was requested by script writers. Especially needed if beveling wire edges with vertex_only. Should be backward compatible as just adds two new keys to returned dict in python ('edges' and 'verts').
2017-05-29Fix T50906 and T49361, bevel didn't curve in plane sometimes.Howard Trickey
2017-05-28Fix T48996, bevel bad for certain in-plane edges.Howard Trickey
2017-05-23Fix T48668, bevel mistake on presumed reflex angle.Howard Trickey
Note: the angle in bug isn't really reflex - using the vertex normal for this test isn't always right, but usually is. At any rate, shouldn't try to put vertex on edge between if a reflex angle.
2017-05-18Correct last commitCampbell Barton
VERT_VISIT was used in a nested function.
2017-05-18Fix T51539: BMesh boolean crashCampbell Barton
In some cases the vertex visit queue would exceed its max length, visiting the same vertex multiple times.
2017-05-17BMesh: remove duplicate argument for wireframe opCampbell Barton
2017-05-16Fix T49467: Crash due to assert failure in bevel.Howard Trickey
The mesh interpolation code had an edge case where one of two adjacent edges to a vertex has 0 length. This caused an assert failure indexing the vertex mesh for splash Blenderman.blend.
2017-05-15Fix T51180: BMesh crash using calc_uvs=TrueCampbell Barton
Don't assume UV layer exist.
2017-05-15Cleanup: warnings, styleCampbell Barton
2017-05-06bmesh: use 'uint' instead of 'unsigned int'Campbell Barton
no functional changes.
2017-04-07Fix T51137: Edge Rip HangsCampbell Barton
2017-04-06Fix T51135: Cylinder primitive generated bad UVsGermano Cavalcante
2017-03-31Fix T51072: The reference of a pyobject may be being overwritten in ↵Germano Cavalcante
`bm_mesh_remap_cd_update` In this case the Pyobject gets lost from pybm, and bm.free() does not invalidate the PyElem. This will cause the destructor of python to read invalid memory and crash. The solution is to make a copy of the pyobjects pointers before overwriting.
2017-03-14Fix T50876: Cycles Crash - Cycles crashes before sampling when certain ↵Bastien Montagne
meshes have autosmooth enabled. The root of the issue was in custom normal code, so far it assumed that we could only have one cyclic smooth fan around each vertex, which is... blatantly wrong (again, the two cones sharing same vertex tip e.g.). This required a rather deep change in how smooth fans/clnor spaces are processed, took me some time to find a 'good' solution. Note that new code is slightly slower than previous one (maybe about 5%), not much to be done here, am afraid. Tested against all older report files I could find, seems OK.
2017-03-13Fix T50920: Adds missing edges on return of bisect operatorGermano Cavalcante
2017-03-12BMesh: rename cryptic functionsCampbell Barton
Use expanded names for bmesh primitive operations (urmv jvke semv jfke). Use 'bmesh_kernel_' prefix, these functions aren't intended for wide use so favor readability. Remove BM_face_vert_separate, it wasn't used and only skipped step of finding correct loop of face.
2017-03-12Cleanup: styleCampbell Barton
2017-03-11BMesh: Fix BM_face_loop_separate_multiCampbell Barton
When the loop region passed in had no loops to edge-split from, it was assumed nothing needed to be done. This ignored the case where loops share a vertex without any shared edges. Now BM_face_loop_separate_multi behaves like BM_face_loop_separate. Fixed error where faces remained connected by verts in BM_mesh_separate_faces.
2017-03-11Correct recent bmesh separate additionCampbell Barton
- Was setting flag incorrectly to avoid re-use. - Check edge has loops before accessing.
2017-03-11BMesh: add BM_mesh_separate_facesCampbell Barton
Fast-path for bmesh split operator which duplicates and deletes. Use when only separating faces, currently used by the intersect tool.
2017-03-05Fix T50855: Intersect (knife) w/o separate doesn't selectCampbell Barton
2017-02-19Fix a few compiler warnings with macOS / clang.Brecht Van Lommel
2017-02-02Fix T50524: Basis shapekey editing while rendering bug.Bastien Montagne
Root of the issue was BM_mesh_bm_to_me() breaking application of basis offset to 'child' shapekeys, when called more than once from same BMesh.
2017-01-19BMesh: remove BM_face_create_ngon_vcloudCampbell Barton
Instead, add BM_verts_sort_radial_plane and use regular creation API.
2017-01-19Correct asserts, un-hiding when selected is okCampbell Barton
2017-01-19Cleanup: naming, comments assert for hide+selectedCampbell Barton
2017-01-19BMesh: improve hide-flush internal logicCampbell Barton
- flushing hidden state ran when it didn't need to. - flushing checks didn't early exit when first visible element found. - low level BM_*_hide API calls like this can use skip iterators can loop over struct members directly. No user-visible changes.
2017-01-19Fix T49807: Inset faces edge rail bugCampbell Barton
2017-01-18BMesh: Use angle_signed_on_axis_v3v3v3_v3Campbell Barton
2017-01-11Add mid_v3_v3_array function and remove redundant functionsLuca Rood
Other than implementing a `mid_v3_v3_array` function, this removes `cent_tri_v3` and `cent_quad_v3` in favor of `mid_v3_v3v3v3` and `mid_v3_v3v3v3v3` respectively. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D2459
2016-12-28Fix T49848: bevel of spiral gets bigger and bigger widths.Howard Trickey
This is the same issue as was fixed with T39486: the adjustment pass that tries to equalize different widths at either end of an edge sometimes causes the widths to get bigger and bigger. The previous fix was to let "clamp_overlap" do double duty as a way to limit this behavior. But clearly this is undiscoverable, as the current bug report shows. So I put in an "auto-limiting" mode that detects when adjustments are going crazy and then acts as if clamp_overlap were set. The reason we can't always act as if clamp_overlap is set is that certain models (e.g., Bent_test in regression tests) look bad if that is enabled.
2016-12-06Fix T50003, Bevel makes non-manifold mesh.Howard Trickey
Problem was setting prev/next faces for edges around a vertex on valence-2 vertices.
2016-11-18BMesh: invalid return from BM_mesh_validateCampbell Barton
Returned value was always false, even for valid meshes, note that this is a debug-only function. Also set internal-tag cleared.
2016-11-17BMesh: avoid using temp array for face-areaCampbell Barton
2016-11-17BMesh: minor cleanupCampbell Barton
Comment & don't use dummy pointer.
2016-11-17Cleanup: redundant index loop for monkey-createCampbell Barton
Also rename face vars (the faces aren't temp), and quiet old-style-definition warning.
2016-11-15BMesh: remove redundant link-list manipulationCampbell Barton
No need to track previous edge in vert-separate cleanup
2016-11-14BMesh: match BM_vert_find_first_loop with iterator logicCampbell Barton
Use changes from previous commit for BM_vert_find_first_loop.
2016-11-14BMesh: avoid extra calls per faces-of-vert iteratorCampbell Barton
- `bmesh_radial_faceloop_find_first` & `bmesh_disk_faceedge_find_first` can be replaced with a single call to a new function: `bmesh_disk_faceloop_find_first` - `bmesh_disk_faceedge_find_first` called `bmesh_radial_facevert_check` which isn't needed, since either the current or next loop in the cycle is attached to the edge we're looking for.
2016-11-14BMesh: use const for BM_vert_face_checkCampbell Barton