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-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
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-20Cleanup: use const mesh arg to BM_mesh_bm_from_meCampbell Barton
Needed for D3966
2018-11-10BMesh: backport minor changes from 2.8Campbell Barton
2018-10-24Fix T57351: Deform modifiers skipped in editmodeCampbell Barton
2018-10-23Cleanup: rename 'dm' -> 'me' for 'Mesh' typesCampbell Barton
2018-10-23Fix bad origindex layers for editmode modifiersCampbell Barton
Reverts workaround from last commit.
2018-10-10BMesh: simple bmesh -> mesh for evaluationCampbell Barton
Copied from CDDM_from_bmesh, the modifier stack doesn't need to handle shape keys, vertex parents or selection history (needed for mode switching).
2018-06-29Cleanup: remove another bunch of DM usages, includes etc.Bastien Montagne
2018-06-13Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/blenloader/intern/readfile.c source/blender/editors/mesh/editmesh_utils.c source/blenderplayer/bad_level_call_stubs/stubs.c
2018-06-13Cleanup: get rid of last G.main in BMesh code.Bastien Montagne
2018-06-05Moved function declarations from BKE_mesh.h → BKE_mesh_runtime.hSybren A. Stüvel
2018-05-11Bmesh: Clear possible geometry saved at runtime when converting bmesh to mesh.Germano
2018-02-19Merge branch 'master' into blender2.8Campbell Barton
2018-02-19Cleanup: remove BMeshToMeshParams.calc_tessfaceCampbell Barton
This wasn't used, tessface is being phased out. Caller can run explicitly if needed.
2018-02-19Fix T54098: Crash existing /w dyntopo sculptCampbell Barton
Optionally don't remap indices for objects. Checking all objects parent's would reference a freed pointer while freeing all objects. In the case of dynamic topology there is no use in keeping track of hook/vertex-parent indices. Also disable this when creating meshes for undo storage since adding an undo step shouldn't be modifying other objects.
2017-08-27Merge branch 'master' into blender2.8Campbell Barton
2017-08-26Missed last commitCampbell Barton
2017-08-26Fix T52515: Crash on BMesh.to_mesh()Campbell Barton
2017-08-26Merge branch 'master' into blender2.8Campbell Barton
2017-08-26Fix minor Mesh -> BMesh conversion issuesCampbell Barton
- Vertex only meshes never restored their selection history. - Select history was cleared on the source instead of the target. Simple Optimizations: - Avoid O(n^2) linked list looping that checked the entire list before adding elements (NULL values in the source array to prevent dupes). - Re-use vert & edge lookup tables instead of allocating new ones.
2017-05-25TexFace removal part 3Campbell Barton
- MTexPoly structure & layer type. - The 'Mesh.uv_textures' layers. - DerivedMesh TexFace drawing. - Scripts & UI.
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.
2016-05-26BMesh: don't alloc zero sized select elem arrayCampbell Barton
2016-04-29Fix T48290: Hook fails after deleting geometryCampbell Barton
Now CD_SHAPEKEY_INDEX customdata is stored in edit-mode when hooks and vertex parents are used. This also fixes a bug where undo would loose key-index data. Move to structs for BM_mesh_bm_to/from_me to avoid passing many argument, which mostly aren't used.
2016-04-29BMesh: when multiple vertices have the same key-index, use the firstCampbell Barton
Simple error case where many vertices share an original index, now use the first match instead of the last.
2016-04-29Minor optimization to bmesh shape key conversionCampbell Barton
Avoid linked linked loop and custom-data lookups per vertex, use a table of shape-keys with array offsets instead.
2015-11-23Cleanup: shadowing (bmesh)Campbell Barton
2015-04-25Cleanup: use 8 space indent for multi-line argsCampbell Barton
2014-11-17ShapeKeys: Add `BKE_keyblock_is_basis` to check whether a given keyblock is ↵Bastien Montagne
used a basis by others. Also fix stupid debug-only error in previous commit.
2014-11-16Cleanup: use BLI_listbase_*** prefix for count,sort,sort_rCampbell Barton
2014-06-23BMesh: we actually can set loop indices too while converting from Mesh to ↵Bastien Montagne
BMesh...
2014-04-22BMesh: minor optimizations for shapekey lookups on conversionCampbell Barton
2014-04-13Split Normals I (2/5): Add basic BMesh support of split normals.Bastien Montagne
* Merely a re-implementation of core split algorithm for BMesh, taking advantage of topological data available. * This code needs valid loop indices, so added BM_LOOP support to BM_mesh_elem_index_ensure() & co. Reviewers: campbellbarton Reviewed By: campbellbarton CC: brecht Differential Revision: https://developer.blender.org/D366
2014-04-01Fix T39550: polygons.active has bad defaultCampbell 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-07-28move alloca define into its own header since its not related to BLI_arrayCampbell Barton
2013-07-24code cleanup: use iterator macros, and replace BM_LOOPS_OF_FACE with direct ↵Campbell Barton
loop access when converting a bmesh to a mesh.
2013-06-26fix [#35507] BMesh module: Crash on to_mesh() if faces.layers.tex is used ↵Campbell Barton
but no loops.layers.uv
2013-06-03fix [#35555] Collada: export destroys mesh in some casesCampbell Barton
add arguments to calculate normals when converting to bmesh: BM_mesh_bm_from_me, DM_to_bmesh This gives some speedup to undo (which didnt need to re-calculate vertex normals), and array modifier which doesnt need to calculate face normals at all
2013-05-09can't use alloca in inline functions (fills up stack - I thought compiler ↵Campbell Barton
would be smart here). also reserve the exact number of vert/face/edge/loops when creating a bmesh during undo.
2013-05-09bmesh: avoid using BLI_array macros for every face when converting to bmesh, ↵Campbell Barton
replace with alloca
2013-04-01Removed ME_CDFLAG_FREESTYLE_EDGE and ME_CDFLAG_FREESTYLE_FACE from ↵Tamito Kajiyama
Mesh::cd_flag. Suggested by Campbell Barton through a review comment of the Freestyle branch.
2013-03-19svn merge ^/trunk/blender -r55357:55372Campbell Barton
2013-03-18Merged changes in the trunk up to revision 55357.Tamito Kajiyama
Resolved conflicts: release/datafiles/startup.blend source/blender/editors/space_nla/nla_buttons.c Also updated source/blender/blenkernel/intern/linestyle.c as a follow-up of recent changes for the use of bool.
2013-03-17code cleanup: name mesh functions more consistently, also use bools for mesh ↵Campbell Barton
args.
2013-03-13New implementation of Freestyle edge/face marksTamito Kajiyama
The previous implementation of Freestyle edge/face marks was refactored based on suggestions from the latest code review by Campbell. The new implementation relies on mesh CustomData to store edge/face marks, instead of introducing extra flags in the core Mesh and BMesh data structures. The CustomData-based implementation will allow further additions of new edge/face attributes because of the independence from Mesh/BMesh. This revision is work in progress, mainly intended to address the review comments and ask for further code review in view of the trunk merger in the upcoming 2.67 release.