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
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.
2012-02-23bmesh minor api refactorCampbell Barton
* BM_vert_in_face now loops over a vert's faces rather then every vert in the face. * rename bmesh_radial_find_first_facevert --> bmesh_radial_find_first_faceloop * rename bmesh_radial_find_next_facevert --> bmesh_radial_find_next_faceloop * rename BM_vert_collapse_edges --> BM_vert_collapse_edge (only collapses one)
2012-02-23swap arg order for BM_edge_split(), makes sense to have edge as firstCampbell Barton
arg.
2012-02-23- swap arg order for BM_face_copy() boolean options.Campbell Barton
- use edge example for BM_face_split().
2012-02-19copying bmesh dir on its own from bmesh branchCampbell Barton