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
2014-09-27Comments: clarify BMLoopCampbell Barton
2014-01-17Code Cleanup: move delete funcs out of bmesh_construct.c into own fileCampbell Barton
2013-09-08update bmesh doxy docs, remove double-promotion warnings in ↵Campbell Barton
remove-strict-flags cmake macro.
2013-09-05code cleanup:Campbell Barton
- add missing headers from cmake (own omission) - quiet rna_test.c unused define warnings. - minor style edits - spelling corrections and ignore all uppercase words with spell checking script.
2013-08-23move bmesh tools into their own include,Campbell Barton
changes to tool args would rebuild far too many files and these are mainly by modifiers outside of bmesh.
2013-08-22new bmesh operator bisect_plane, cuts a mesh in half, takes a user defined ↵Campbell Barton
plane as an argument, handles concave ngons which need multiple cuts.
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-08-16rewrite edgenet fill bmesh operator.Campbell Barton
previous code created faces with mixed face-flipping and could get very slow, test with ~60,000 edges here hung my system for over 2min (didnt wait for it to finish), new code executes in about 1 second. new code doesn't attempt to flip faces correctly, its quite involved to do so, especially when the new faces are not created adjacent to eachother. so simpler to calculate normals afterwards.
2013-08-13fix for bug in rip tool, isolated verts would remain selected after ripping.Campbell Barton
2013-06-04edit-mesh improvements to select shortest pathCampbell Barton
- Ctrl+RMB only worked for edges & faces - Menu item 'Select Shortest Path' only worked for vertices. Now Ctrl+RMB works for vertices and the menu item works for verts/edges/faces (depending on the current selection).
2013-05-11- add generic edge-loop utility functions for bmesh.Campbell Barton
- rewrite bridge tool to use the new functions (using edge & vertex arrays was quite cumbersome).
2013-04-07Fix for [#34898] Typo in error message of mathutils.VectorThomas Dinges
* Also fixed some more cases of "more then" -> "more than".
2013-01-29Triangulate modifier no longer uses bmesh operator api call, instead add a ↵Campbell Barton
BM_mesh_triangulate() function. Gives ~2x speedup in my tests on an optimized build.
2013-01-14fix for own error with unwrap selection checking uvedit_have_selection() ↵Campbell Barton
failed with no UV layer. also add some safety checks for BM_ELEM_CD_GET_* macros.
2012-12-30Add BMLog for efficiently storing changes to vertices and facesNicholas Bishop
The BMLog is an interface for storing undo/redo steps as a BMesh is modified. It only stores changes to the BMesh, not full copies. Currently it supports the following types of changes: - Adding and removing vertices - Adding and removing faces - Moving vertices - Setting vertex paint-mask values - Setting vertex hflags
2012-11-18finish moving bevel code out of the operator dir (it works again)Campbell Barton
2012-11-18move decimator into tools/ dirCampbell Barton
2012-10-19decimate modifier rewrite to use bmesh (#ifdef-disabled by default for now).Campbell Barton
- maintains quads & ngons - supports some customdata (weight paint for example works fine). TODO - add suppory for loop data (UV's / VCol's). - outputs invalid geometry when heavily reducing some meshes, needs to be made stable in these cases.
2012-09-06code clenup: comments and some style edits on ghost/osx (odd indentation)Campbell Barton
2012-05-21code cleanup: spellingCampbell Barton
2012-04-26code cleanup: bmesh comments/todos, no functional changes.Campbell Barton
2012-04-20rip tool wasnt working on a single edge selection in some cases (own error ↵Campbell Barton
in recent fix).
2012-03-24code cleanup: move bmesh inline funcs to headers (avoids compiling the C files).Campbell Barton
2012-03-22bmesh: debugging function to help resolve issues with corrupt mesh data - ↵Campbell Barton
BM_mesh_validate()
2012-03-22fix [#30623] user-defined render presets bugCampbell Barton
this report exposed multiple bugs in blender when using a non utf8 compatible home directory. - bpy.utils.script_paths() would crash when homedir wasn't utf8 (reported bug) - PyC_DefaultNameSpace() - would raise an error when running when __file__ was non utf8. - preset filepath property was not set to accept non utf8. - bpy.paths.display_name would raise an error on non utf8 paths, (used for preset draw)
2012-03-21move some bmesh headers into intern/ since they are not used externally.Campbell Barton
2012-03-20rename define BM_INLINE -> BLI_INLINE to avoid confusion with bmesh defines.Campbell Barton
2012-03-18spelling cleanupCampbell Barton
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-02bmmesh api - use struct rather than int[4] to initialize mesh sizes.Campbell Barton
also correct bad assert() in previous commit.
2012-03-01Spelling CleanupCampbell Barton
2012-02-28Code Cleanup:Campbell Barton
- apply some rules for function naming conventions, added to main bmesh doc in bmesh.h. - remove unused function BM_loops_to_corners().
2012-02-28more header re-arranging.Campbell Barton
Some function comments were in headers, some in the C files, some in both. Moved function comments from headers into the C files.
2012-02-28bmesh: re-arrange headersCampbell Barton
2012-02-28code cleanup,Campbell Barton
- bmesh_newcore.c -> bmesh_core.c. - add bmesh_interp header.
2012-02-28Code Cleanup: bmeshCampbell Barton
* remove unneeded struct's from headers. * give argument names for return ** pointers r_ prefix.
2012-02-28move bmesh wiki docs into bmesh header and update doxygen.Campbell Barton
also have doxygen ignore *.py files and fix some warnings.
2012-02-27bmesh minor api edits to be a little more typesafe.Campbell Barton
2012-02-27minor bmesh api naming edits.Campbell Barton
2012-02-27Code Cleanup:Campbell Barton
* made bmesh_structure.h function names more consistant. * remove unused code in bmesh_structure.c * removed 'Edge Flip' operator (missing from bmesh but looked into trunk feature and dont think its worth keeping). * tagged some BMESH_TODO's
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-26replace BMESH_ERROR with BMESH_ASSERT, most areas it was used are better ↵Campbell Barton
suited to an assert anyway. also tag all error cases as UNLIKELY() for better branch prediction.
2012-02-26replace bmesh_error with macro that gives the file/line/func the error ↵Campbell Barton
happens on.
2012-02-26bmesh - remove faces with <3 sides after dissolve/collapse (most tools ↵Campbell Barton
already did this).
2012-02-26bmesh code cleanupCampbell Barton
* minor edits to header * make BM_vert_dissolve() easier to read.
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-25bmesh api:Campbell Barton
* added BM_elem_flag_set, BMO_elem_flag_set. to avoid 'if(...) enable(); else disable();' all over the place. * added bmesh_operator_api_inline.c, the header file was getting messy.
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.