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-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-26Cleanup: remove redundant BKE/BLI/BIF headersCampbell Barton
2019-01-11BMesh: Add BM_face_calc_area_uvClément Foucault
2018-12-14Merge branch 'master' into blender2.8Campbell Barton
2018-12-14Cleanup: naming (mean -> median) see T47811Campbell Barton
2018-12-12Merge branch 'master' into blender2.8Campbell Barton
2018-12-12Cleanup: use colon separator after parameterCampbell Barton
Helps separate variable names from descriptive text. Was already used in some parts of the code, double space and dashes were used elsewhere.
2018-11-10BMesh: backport minor changes from 2.8Campbell Barton
2018-11-10BMesh: avoid incorrect/invalid matrix calculationCampbell Barton
- `BKE_object_scale_to_mat3` was used to get the worldspace scale, without taking constraints, parenting etc into account. - Don't pass object's into BMesh API, (prefer matrices instead). - Avoid matrix invert for each edge-angle calculation. - Avoid 2x matrix multiplies when looping over edge pairs.
2018-11-09Multi-Objects: MESH_OT_select_similar worldspace completionHabib Gahbiche
This makes the operator to work 100% with worldspace similarity: * SIMFACE_PERIMETER * SIMFACE_AREA * SIMEDGE_FACE_ANGLE Note from revisor (Dalai Felinto): I'm not sure we want to pass Object * to the bmesh api, though I personally don't see why not. Either way I group the patches together so we can more easily roll them back if needs be. Maniphest Tasks: T56948 Differential Revision: D3908, D3899, D3896
2018-09-02Cleanup: comment blocksCampbell Barton
2018-09-02Cleanup: comment blocksCampbell Barton
2018-07-15WM: rename manipulator to gizmo internallyCampbell Barton
2018-06-04Cleanup: strip trailing space in bmesh moduleCampbell Barton
2018-02-18Cleanup: add 2d suffix to BLI filesCampbell Barton
Some of these API's can have 3D versions, explicitly name them 2D.
2018-02-08Mesh: concave quad supportCampbell Barton
Previously quads always split along first-third vertices. This is still the default, to avoid flickering with animated deformation however concave quads that would create two opposing triangles now use second-fourth split. Reported as T53999 although this issue has been known limitation for a long time.
2017-11-20UV Cube Project: improve default behaviorCampbell Barton
- initialize the cube-size from the bounding box when it's not set. - no longer wrap faces to keep in 0-1 bounds, other projection methods don't do this and calculating the scale prevents the UV's from being too far outside the view.
2017-10-22Polyfill Beautify: half-edge optimizationCampbell Barton
Was using an edge hash for triangle -> edge lookups, updating triangle indices for each edge-rotation. Replace this with half-edge which can rotate edges much more simply, writing triangles back once the solution has been calculated. Gives ~33% speedup in own tests.
2017-10-20Cleanup: redundant castsCampbell Barton
2017-09-19Correct recent error in boolean quad split checkCampbell Barton
2017-09-15BMesh: use less involved check for edge rotationCampbell Barton
Was using function for edge rotation which was doing unnecessary checks Use the face normal and BLI_polyfill_beautify_quad_rotate_calc directly.
2017-09-15Fix error in recent boolean changes w/ quad splitCampbell Barton
2017-09-14Fix T52291: Boolean fails w/ co-linear edged ngonsCampbell Barton
This means boolean tessellation wont match viewport tessellation however it's needed to avoid zero area triangles causing problems.
2017-05-06bmesh: use 'uint' instead of 'unsigned int'Campbell Barton
no functional changes.
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.
2016-11-17BMesh: avoid using temp array for face-areaCampbell Barton
2016-07-22Correct mistake comparing verticesCampbell Barton
2016-07-20BMesh: improve BM_face_splits_check_legalCampbell Barton
- remove edge scaling, instead avoid checking intersections with connected edges. - replace local line intersection functions with BLI_math - center the projection for more precise calculation.
2016-07-19Cleanup: style, spellingCampbell Barton
2016-07-08Cleanup: spellingCampbell Barton
2016-07-07Cleanup: spelling, styleCampbell Barton
2016-06-21Fix null-pointer freeCampbell Barton
Own error in recent decimeter commit
2016-06-12bmesh py api: expose BM_face_calc_tangent_*Campbell Barton
D1988 by @wisaac, with own edits and improvements. This improves on existing tangent calculation functions too. - BM_face_calc_tangent_auto: Chooses method based on number of sides, used by manipulator (not exposed to Python). - BM_face_calc_tangent_edge: from longest edge. - BM_face_calc_tangent_edge_pair: from longest edge-pair (most useful with quads). - BM_face_calc_tangent_edge_diagonal: edge farthest from any vertex. - BM_face_calc_tangent_vert_diagonal: vert farthest from any vertex. Also optimize BM_vert_tri_calc_tangent_edge* functions to avoid sqrt.
2016-03-14Fix T47788: Symmetrize flips multi-res dataCampbell Barton
Symmetrize was unusable with multi-res data, add an option for the bmesh operator not to flip the multi-res depth.
2016-01-14Cleanup: use BM_mesh_* prefix for BMesh functionsCampbell Barton
2015-11-27BMesh: Add API call BM_face_calc_point_in_faceCampbell Barton
Was local to knife code, but this is generally useful.
2015-11-25Fix error in recent check for duplicate trisCampbell Barton
2015-11-20Fix T46804: Crash using triangulate modifier on a specific mesh.Bastien Montagne
Issues was again the ugly hack of swapping last generated tri with original face we use in BMesh triangulate code - here it could lead in some rare case to have invalid face pointer in doubles list.
2015-11-05Cleanup: comments/styleCampbell Barton
2015-11-05Fix T46692: Triangulate creates duplicate facesCampbell Barton
Caused a crash in dyntopo.
2015-11-05BMesh: triangulate & poke - multires data supportCampbell Barton
2015-11-05BMesh: generalize logic for quad/ngon triangulateCampbell Barton
Avoid having 2 different code-paths for face triangulation.
2015-11-03Correct error in recent commitCampbell Barton
2015-11-03BMesh: inline vert-loop iteration for normal calcCampbell Barton
Calculating normals is called often (sculpting for eg), so avoid using high-level iterator here.
2015-11-03Cleanup: use 'const' for BMesh checking funcsCampbell Barton
2015-07-31Docs: doxy correctionsCampbell Barton
2015-07-29Triangulate wasn't clearing arena after each useCampbell Barton
2015-07-20Correct own error w/ recent changes to triangulateCampbell Barton