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
2015-04-25Cleanup: use 8 space indent for multi-line argsCampbell Barton
2014-12-08BMesh: ensure iterator macros assign to valid typesCampbell Barton
note, this is for C++ code which expects a cast, (will be added later) also add a macro for nop-expressions (EXPR_NOP), when we never want an expression to be evaluated, but it should still be valid.
2014-07-17bmesh py api: BPY_BM_CHECK_SOURCE_* macro now accepts multiple argsCampbell Barton
2014-07-16bmesh py api: add typed tuple-from-array functionsCampbell Barton
2013-09-20correct include guards and add checks in check_style_c.py for them.Campbell Barton
2013-03-17code cleanup: incorrect sized array args, remove some redundant code.Campbell Barton
2013-01-14use booleans for bmesh api.Campbell Barton
2012-11-29bmesh py api: use generic checking macros to see if an object if from the ↵Campbell Barton
same bmesh. - was such a common operation so this saves having exceptions set inline all over the place.
2012-11-26py/bmesh api - support for converting from/to BMO_OP_SLOT_MAPPING type.Campbell Barton
2012-10-21code cleanup: spellingCampbell Barton
2012-06-27bmesh.ops module for bmesh operator access, only remove_doubles and ↵Campbell Barton
convex_hull at the moment.
2012-05-01style cleanup: guys - set your editors to tabs!Campbell Barton
2012-04-19remove BM_ITER, BM_ITER_INDEX macros, use ELEM or MESH variants only (the ↵Campbell Barton
maceros had unused args in both cases).
2012-04-19style cleanup: BM_ITER / BM_ITER_INDEX / BMO_ITERCampbell Barton
2012-03-17bmesh py api:Campbell Barton
split up BMElemSeq into BMVertSeq, BMEdgeSeq, BMFaceSeq and BMLoopSeq Was becoming cumbersome since each needed their own new() function, and other methods only worked for some of these types. Added BMesh.loops - since you cant iterate over loops this is for customdata access only.
2012-03-16bmesh py api:Campbell Barton
initial support for editing bmesh customdata per vert/edge/face/loop shapes, crease, bevel weights working, missing UVs and Vertex Colors still.
2012-03-14bmesh py api: finished todo - editable select_historyCampbell Barton
eg: bm.select_history = vert, face, edge bm.select_history.add(edge)
2012-03-11bmesh python api additions:Campbell Barton
- BMesh.is_wrapped - BMesh.copy() - BMesh.clear() - BMesh.free() - BMesh.from_object(obj, apply_modifiers=True) - BMEdge.calc_length() - BMLoop.calc_normal() - BMLoop.calc_tangent()
2012-03-11bmesh py api: change .from_mesh() / .to_mesh() to be class methods of BMesh ↵Campbell Barton
rather than functions in the module. added example script which converts a mesh to a bmesh, edits and converts back again.
2012-03-11bmesh:Campbell Barton
- moved mesh conversion functions into their own file. bmesh py api: - can now create a new empty bmesh without first creating mesh data. - added function to copy bmesh data back to a mesh. - bmesh.from_mesh() can now get a mesh which isnt in editmode.
2012-03-09style cleanup: spelling.Campbell Barton
also remove large, duplicate comments from sunsky.h
2012-03-09added API function to C and pythonCampbell Barton
* C: BM_vert_separate(...) * py: bmesh.utils.vert_separate(vert, edges) This splits off regions around the vertex, splitting on connected edges passed in a sequence. also made minor changes - rename python api functions _rip to _separate - fixed bmesh iterator being iterable its self (some parts of python expect this) - fix memory leak in bmesh python api.
2012-02-27use LIKELY/UNLIKELY macros for operations that run a lot.Campbell Barton
2012-02-27style cleanupCampbell Barton
2012-02-26bmesh api cleanupCampbell Barton
* better type safety for BM_elem_flag_* and BM_elem_index_* functions. * add BMElem type to be used where BMFace/Edge/Vert/Loop can be interchanged. * fix bug in select manifold, found when making functions more strict.
2012-02-24bmesh py api (some api changes and doc additions)Campbell Barton
* remove 'select' and 'hide' from BMLoop * remove BMesh.update * add BMesh.normal_update(skip_hidden=False) * add BMElemSet.index_update(), eg: bm.verts.index_update() bmesh api * BM_mesh_normals_update() now takes skip_hidden as an argument (previously this was default behavior), however this isnt good when using BMesh modifiers, where you want all normals to be recalculated. * add bm_iter_itype_htype_map[], to get the iter type from a BMesh iterator.
2012-02-24bmesh python api - add/improve rst docstrings.Campbell Barton
2012-02-23bmesh py apiCampbell Barton
bmesh.utils.face_join(faces) added a utility function for converting a list of python BMesh elements into a C array. use for this face_join as well as BMesh.faces.new()
2012-02-23bmesh py api, new submodulesCampbell Barton
* bmesh.types, just allows access to BMVert, BMEdge etc. * bmesh.utils, so far only added edge_split() function, this module will give access to mesh editing functions.
2012-02-22bmesh py api - generalize bmesg sequences to use the iterator type and ↵Campbell Barton
optionally another bmesh element. This allows BMFace.verts to be added without defining a new sequence type.
2012-02-22initial bmesh python api.Campbell Barton
corrently allows to create and loop over verts/edges/faces, access selection and selection modes. this is still WIP, access to face, edge verts is still missing, no access to UV's, no access to editing operations yet. When the api is ready it will be documented by sphinx like mathutils, blf, aud.