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-03-21code cleanup: remove double call to BKE_node_instance_key(), rename ruler ↵Campbell Barton
(lots of tools are 3d :)), and redundant assignment.
2013-01-20fix for own error in recent BLI_array commitCampbell Barton
2013-01-14use booleans for bmesh api.Campbell Barton
2012-12-03revert part of r52720, Id rather leave these as-is, even if they give ↵Campbell Barton
warnings under some configurations.
2012-12-02Silent a bunch of gcc warnings (usually dummy, but noisy!).Bastien Montagne
2012-11-29fix [#33029] Applying modifier leaks memoryCampbell Barton
Thanks for Sergey for finding the bug & patching, This fix works a bit differently. Theres no need to allocate the customdata in the first place - since its written into. So add a flag for vert/edge/face/loop creation functions so they can skip customdata creation.
2012-11-28bmesh operator naming - use clearer names for args eg: (mat -> matrix, ↵Campbell Barton
use_singleedge -> use_single_edge) also remove duplicate docs for operator arg formatting.
2012-11-27use clearer names for 'single' bmesh operator args & add '%e' to ↵Campbell Barton
BMO_op_vinitf comments.
2012-11-27py/bmesh api - add support for single item buffers (odd feature but used ↵Campbell Barton
quite a bit with bmesh operators). also add utility functions BMO_slot_buffer_from_single(), BMO_slot_buffer_get_single()
2012-11-27bmesh/py operator api:Campbell Barton
add type checking for element buffers, there was nothing stopping python from passing any element type into an argument when in some cases only verts/edges/faces were expected. now operator args define which types they support.
2012-11-20code cleanup: make bmesh operator names more consistant since python has ↵Campbell Barton
access to these as input arguments and return values. all output values currently have ".out" suffix, this may go in the future, but for now it makes it clear in C code what are inputs and outputs.
2012-11-19use input and output slots for bmesh operators, needed for the python api to ↵Campbell Barton
get return values.
2012-11-08code cleanup: unused defines & some formatting.Campbell Barton
2012-10-30code cleanup: move select-similar bmesh operators into their own file since ↵Campbell Barton
there are 3 operators here that share utility functions with eachother but have nothing in common with other operators in bmo_utils.c
2012-10-30add the option to select Equal/Greater/Less when selecting similar.Campbell Barton
Recently addons were submitted for review and this was the only advantage they had over blenders existing internal select-similar tool.
2012-10-30add option to select face by matching number of sides.Campbell Barton
2012-10-21bmesh-decimator updateCampbell Barton
- update face normals when triangulating. - avoid divide by zero when interpolating customdata on a zero length edge. - replace zero float comparisons with fabsf() < FLT_EPSILON to avoid numeric error. also renamed BLI_heap_empty() --> BLI_heap_is_empty() so its obviously readonly function.
2012-10-15code cleanup: define sizes of vectors for function args and use C style commentsCampbell Barton
2012-08-22Fix #32301: mesh select more/less not taking hidden vertices/faces into account.Brecht Van Lommel
2012-07-29code cleanup:Campbell Barton
- building without python works again - rename maxi/mini to i_max/i_min (so thay are available for function names) - some minor edits to IK stretch setting (no functional changes).
2012-07-27Fix #32199: Smooth Vertex no longer has X, Y and Z options.Sergey Sharybin
2012-07-21add option so operators can be called with a flag, currently the only flag ↵Campbell Barton
is to respect hidden geometry. this is useful for bmesh tools that operate in object mode or for modifiers which would previously use hidden faces in some cases.
2012-07-17code cleanup: spellingCampbell Barton
2012-06-30rename bmesh ops since they are exposed in an api now.Campbell Barton
2012-06-15Added option in shift-g to select verts by number of connected edges (valence).Joseph Eagar
2012-06-09code cleanup: doxy comment filename correctionsCampbell Barton
2012-05-20code cleanup:Campbell Barton
- style - multi-line ifs move braces onto new lines. - iterators - convert some to macros, other split up and move brace.
2012-05-12optimization for select similarCampbell Barton
- use angle_normalized_v3v3() where both vectors are known to be normalized. - remove needless radian to degrees conversions. - move checks for customdata layers outside the inner loop (for bevel and crease).
2012-05-12add bevel to select similar edges operatorCampbell Barton
2012-04-28style cleanup: format 'for' loop macros the same as for loops, some renaming ↵Campbell Barton
to BLI_array macros.
2012-04-23code cleanup: better use of BLI_array_* (grow in larger steps where ↵Campbell Barton
possible), include BMO_iter_new in for loops.
2012-04-23code cleanup: change C naming convention (so py and C api match), eg:Campbell Barton
C: BM_face_calc_area(f), Py: BMFace.calc_area()
2012-04-21style cleanup: correct typosCampbell Barton
2012-04-19code cleanup: remove unused BMesh args.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-04-15make ngon_perimeter into a public api function and expose to python.Campbell Barton
2012-04-06bmesh minor change - avoid increasing array sizes one by one and use ↵Campbell Barton
iterator macros.
2012-04-06code cleanup: add doxygen headers to bmesh operator files, also add own ↵Campbell Barton
include so definitions dont get out of sync.
2012-03-30For BMesh functions that test flags, add enabled/disabled variants.Nicholas Bishop
2012-03-20style cleanupCampbell Barton
2012-03-19code cleanup: bmesh api - make arg order consistent - htype before hflag or ↵Campbell Barton
oflag.
2012-03-18spelling cleanupCampbell Barton
2012-03-08building without python works again, cleanup bmesh include paths (cmake and ↵Campbell Barton
scons).
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-04style cleanup / comment formatting for bli/bke/bmeshCampbell Barton
2012-03-03bmesh support for rotating multiple edges at once.Campbell Barton
2012-03-03bmesh edge rotateCampbell Barton
* improve check to see if edge rotate can be done, was checking if both edges verts have an edge count of 2, which is really a meaningless test since the verts can have stray edges connected and the result wont work right. instead check if the next verts in both faces share a vertex. * add utility function BM_face_other_vert_loop() which gets the next loop in a face. * add convenience function BM_edge_face_pair() which returns 2 faces for edges that have exactly 2 face users. (saves ugly e->l->radial_next ... in code) and is more readable.
2012-03-02Code Cleanup - naming consistancy for bmesh struct typesCampbell Barton
2012-03-01bmesh api:Campbell Barton
* name bmesh operator func's BMO_slot_buffer_* rather then BMO_slot_* since it wasnt obvious some only dealt with buffer, some both. * more typechecks and asserts of BMO_ functions (I lost some time calling a map with a buffer function that failed silently). * small speedup for extrude check - test if the edge is wire _before_ doign a hash lookup.