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
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-03-09bmesh py api, new functions:Campbell Barton
* bmesh.utils.face_vert_rip(f, v) * bmesh.utils.loop_rip(l)
2012-03-08Add missing include.Nathan Letwory
2012-03-08style cleanup - spelling.Campbell Barton
2012-03-08use BLI_path_cmp() rather then strcmp()Campbell Barton
2012-03-06fix for own error in edge-rotate keeping edge customdata - this was crashing ↵Campbell Barton
when rotating multiple edges. Now create the rotate edge in advance and copy its customdata (before joining the faces). This commit also fixes an annoyance where tryangulating faces could create duplicate edges.
2012-03-06style cleanup, brackets in else/if, some indentation.Campbell Barton
2012-03-05edge rotate now keeps edge properties (like seam, crease, bevel weight.. etc)Campbell Barton
2012-03-05Improvements to bmesh edge rotateCampbell Barton
On a user level, edge rotate now works better with multiple edges selected, it wont make zero area faces or rotate edges into existing ones. With a single edge selected - rotate is less strict and will allow ugly resulting faces but still checks on duplicate edges. API: * BM_edge_rotate now takes a flag, to optionally... ** check for existing edge ** splice edge (rotate and merge) ** check for degenerate resulting faces (overlapping geometry, zero area) ** beauty - only rotate to a better fit. ... this allows it to still be used as a low level API function since all checks can be skipped. * BM_edge_rotate() now works a bit different, it find the new edge rotation before joining the faces - exposed by BM_edge_rotate_calc(). * Added api call bmesh_radial_faceloop_find_vert() - Radial Find a Vertex Loop in Face
2012-03-04fix for missing NULL check in bmesh.from_mesh(), bug [#30446]Campbell Barton
2012-03-04fix for issue raise by patch [#30154] non utf8 buildinfo, fails to import ↵Campbell Barton
'bpy' module. we cant ensure buildinfo to have utf8 encoding so access it as bytes via python - a different workaround then this patch made. also use C style string formatting for sys_info.py
2012-03-04fix for crash in bmesh py api, was missing NULL checks for parsing sequences ↵Campbell Barton
and had bad string formatting in exception.
2012-03-04bmesh py apiCampbell Barton
* add BLI_rfindlink for reverse index lookup (used so bm.select_history[-1] doesn't have to loop the entire list twice). * add bm.select_history.active so you can get the last selected item or None without having to check seq length.
2012-03-04style cleanup - comment formattingCampbell Barton
2012-03-03style cleanup - spelling corrections & update some incorrect comments.Campbell Barton
2012-03-03fix for error report in property registration, it wasnt printing the error.Campbell Barton
2012-03-02fix bug [#30426] crash in bmesh python api.Campbell Barton
if blender freed the BMesh before python was finished (on exit editmode for eg), python would attempt to access the bmesh to clear python pointers in it.
2012-03-01Spelling CleanupCampbell Barton
2012-02-29Mistake in previous commit test for API vert new: it failed for no-arg case.Howard Trickey
2012-02-29Code Cleanup: remove non existing function declarations.Campbell Barton
added some missing functions too - which are not used yep but should be there for api completeness. * CDDM_set_mloop * CDDM_set_mpoly * BLI_mempool_count
2012-02-29Fix 30401: Python API vert new((0,0,0)) crashes.Howard Trickey
Thanks to Campbell for fix, adding an & to an arg. Also needed to negate the sense of a later test.
2012-02-29bmesh py api - initial support for selection history.Campbell Barton
2012-02-28bmesh py api - element hide_set() function which flushes hidden state.Campbell Barton
2012-02-27bmesh py api - loop vert/edge/face attributes.Campbell Barton
2012-02-27style cleanup (mostly whitespace)Campbell Barton
2012-02-27use LIKELY/UNLIKELY macros for operations that run a lot.Campbell Barton
2012-02-27style cleanupCampbell Barton
2012-02-27fix for a bmesh glitch when making a face (Fkey).Campbell Barton
On a place, Ctrl+T, Fkey would create a quad overlapping the 2 Tris. Now this case is checked for in a general way - if the bounds of the face are already filled in with faces (that _only_ use these edges-verts), then dont create the face. This is an option for the 'edgenet_fill' operator, since creating the face isnt incorrect, just not-what-you-want mostly. added functions * BM_edge_share_vert - returns shared vert between 2 edges. * BM_face_exists_multi, BM_face_exists_multi_edge - check if existing faces fill the edge bounds. * also add BM_ELEM_INTERNAL_TAG so low level functions can tag without conflicting with higher level functions that also rely on tagging elements.
2012-02-26* bmesh py api BMEdge.verts was using 2 v1'sCampbell Barton
* bmesh pu api __repr__ functions for mesh data. * correct py hash defines.
2012-02-26bmesh py api, add another interpolation function.Campbell Barton
BMVert.copy_from_vert_interp(vert_pair, fac)
2012-02-26bmesh - remove faces with <3 sides after dissolve/collapse (most tools ↵Campbell Barton
already did this).
2012-02-26bmesh python apiCampbell Barton
* BMLoop attributes link_loop_next/prev * BMVert.copy_from_face_interp
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-25style cleanup, use { on newline after function definition.Campbell Barton
spelling 'impliment' -> 'implement'
2012-02-25code cleanup: white space, spelling & ';;' end of lines.Campbell Barton
2012-02-25bmesh py api - add funcsCampbell Barton
* BMFace.copy_from_face_interp(face) * BMLoop.copy_from_face_interp(face, vert=True, multires=True) These are important for rebuilding geometry from existing faces without loosing UV's, vcols etc.
2012-02-25fix for own regression in r44361 (broke BM_vert_in_face)Campbell Barton
also fix py api: bmesh.utils.face_split(face, v1, v2)
2012-02-24bmesh py api - fix for error creating a new faceCampbell Barton
2012-02-24bmesh python api:Campbell Barton
bm.verts.get(verts) / bm.faces.get(verts) - use to find an edge or face from a vertex list passed.
2012-02-24bmesh py api - bmesh.utils.face_flipCampbell Barton
2012-02-24bmesh py api - normal_update() functions for vert/edge/face.Campbell Barton
2012-02-24bmesh py api, minor change - edges now take a seq of 2: bm.verts.new((v1, ↵Campbell Barton
v2), example=None)
2012-02-24bmesh docs now written in sphinx doc generator.Campbell Barton
* http://www.blender.org/documentation/blender_python_api_2_62_0/bmesh.types.html * http://www.blender.org/documentation/blender_python_api_2_62_0/bmesh.utils.html
2012-02-24typo cleanup, no functional changes.Campbell Barton
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 api - ensure data layers to store bmesh pointers exist - removing ↵Campbell Barton
all elements could free them for eg.
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, added: bmesh.utils.edge_rotate(edge, ccw=False)Campbell Barton
also improved docstrings.