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
2017-01-19Correct asserts, un-hiding when selected is okCampbell Barton
2017-01-19Cleanup: naming, comments assert for hide+selectedCampbell Barton
2017-01-19BMesh: improve hide-flush internal logicCampbell Barton
- flushing hidden state ran when it didn't need to. - flushing checks didn't early exit when first visible element found. - low level BM_*_hide API calls like this can use skip iterators can loop over struct members directly. No user-visible changes.
2016-07-08Cleanup: spellingCampbell Barton
2016-06-12bmesh py api: expose BM_face_calc_tangent_*Campbell Barton
D1988 by @wisaac, with own edits and improvements. This improves on existing tangent calculation functions too. - BM_face_calc_tangent_auto: Chooses method based on number of sides, used by manipulator (not exposed to Python). - BM_face_calc_tangent_edge: from longest edge. - BM_face_calc_tangent_edge_pair: from longest edge-pair (most useful with quads). - BM_face_calc_tangent_edge_diagonal: edge farthest from any vertex. - BM_face_calc_tangent_vert_diagonal: vert farthest from any vertex. Also optimize BM_vert_tri_calc_tangent_edge* functions to avoid sqrt.
2015-11-02Fix BMesh selection flushing w/ mixed modesCampbell Barton
Fix for T46494 wasn't working properly when de-selecting faces, adjacent faces would remain selected but have unselected edges. Logic here is admittedly rather fragile since it relies on both selection functions and flushing afterwards.
2015-10-15Fix T46494: Can't de-select a face w/ mixed modesCampbell Barton
2015-05-19BMesh: calls to store selection at the list headCampbell Barton
2015-05-04Cleanup: style & const'sCampbell Barton
2015-04-25Cleanup: use 8 space indent for multi-line argsCampbell Barton
2015-02-03BMesh: optimize selection flushingCampbell Barton
De-selecting a face would do flushing checks on each vertex 3 times, now only do once.
2015-02-03cleanup: inconsistent BMesh select checksCampbell Barton
2015-02-03BMesh: optimize edge selectCampbell Barton
It's called a lot, so avoid using a generic iterator for edges of vert.
2014-09-24Cleanup: boolCampbell Barton
2014-08-26CommentsCampbell Barton
2014-08-25Fix T40993: Store selection history for extrudeCampbell Barton
2014-06-06BMesh: avoid OpenMP use for low poly meshes (counting selection)Campbell Barton
also use schedule(static) for simple for loops.
2014-02-26BMesh: add overwrite option to BM_mesh_elem_hflag_enable/disable_testCampbell Barton
2014-02-21Fix for BM_mesh_deselect_flush(), allowed faces with deselected edgesCampbell Barton
2014-02-07ListBase API: add utility api funcs for clearing and checking emptyCampbell Barton
2014-01-12Style Cleanup: whitespaceCampbell Barton
2013-08-14bmesh utility functions for storing an editselection after another in the list.Campbell Barton
2013-08-13fix for bug in rip tool, isolated verts would remain selected after ripping.Campbell Barton
2013-08-13bmesh: simplify mode check for setting the edge selectionCampbell Barton
2013-08-01use bmesh for loop macros for looping over mesh verts/edges/facesCampbell Barton
2013-07-05fix [#36014] Individual Origin Translation across Normal Orientation doesn't ↵Campbell Barton
work properly. makes boundary edges use predictable orientation.
2013-06-24add api calls for BM_mesh_active_vert/edge_get.Campbell Barton
inspecting the edit-selection inline was cumbersome.
2013-06-19Remove paranoid null checks for editmesh EDBM_vert_at_index and friends (use ↵Campbell Barton
asserts instead). temp set BM_OMP_LIMIT to zero for better testing before release.
2013-05-28fix [#35509] MedianPoint choice has bad normalsCampbell Barton
2013-04-04fix [#34802] Individual Transformation Confusing in Edit ModeCampbell Barton
Individual transformation now works in editmode mesh faces/edge, armature bones and metaballs.
2013-04-04improved method of getting the tangent axis from a bmesh triangle,Campbell Barton
rather then getting the longest edge, get the edge which which is most different from the 2 others ends up giving more useful results: for an isosceles triangle it returns the base weather its longer or shorter then the other sides.
2013-01-17optimize bmesh operations that use triangle BMFace's (dyn-topo and mesh ↵Campbell Barton
conversion).
2013-01-14use booleans for bmesh api.Campbell Barton
2012-12-21minor bmesh improvementsCampbell Barton
- use 2 omp sections for vert -> (edge, face) selection flushing. - dont use face-loop iterator for cddm_from_bmesh_ex conversion to give some speedup (some modifiers use this). - use float(*)[3] for functions that return coords.
2012-12-12add threshold for bmesh & openmp so its not used with low poly meshes, ↵Campbell Barton
BM_OMP_LIMIT may need tweaking.
2012-12-12use openmp to thread some common bmesh operationsCampbell Barton
- BM_mesh_elem_toolflags_ensure / bmo_flag_layer_alloc / bmo_flag_layer_free / bmo_flag_layer_clear - BM_mesh_select_flush - EDBM_index_arrays_init notes: - mostly use openmp `sections` to split operations on vert/edge/face since this is a fairly minor change. - split tool flag pool in 3, this means we can allocate exact sizes needed and iterate on them in threads without alloc'ing.
2012-10-30minor improvement to vector api use, replace add, multiply by 0.5 with ↵Campbell Barton
mid_v3_v3v3
2012-09-19code cleanup: make shape key api names consistent with our new convention.Campbell Barton
2012-08-31Fix #32458: changing UV image in image editor not working when the active faceBrecht Van Lommel
was not selected. Now changed it so that the active face must also have its UVs shown in the image editor to be used as the source of the image shown.
2012-08-18utility functions: BLI_findptr, BLI_rfindptr --- use for finding an item in ↵Campbell Barton
a linked list by a pointer.
2012-08-17fix own error in recent smoothview cleanup, also correct some cross ↵Campbell Barton
references in bmesh docs.
2012-07-20minor edits for bmesh apiCampbell Barton
2012-07-17code cleanup: spellingCampbell Barton
2012-06-11Fix incorrectly deleted elements in array modifier caps.Nicholas Bishop
Add check for merging vertices into vertices that are themselves marked for merge, was already done for array eleements but not end caps. Fixes bug [#31695] Array Modifier: End Cap fails if all vertices are merged Also corrected some reversed assert arguments.
2012-05-22style cleanup: relating to skin modifierCampbell Barton
2012-05-22use faces longest edge when orienting the manipulator to the active faceCampbell Barton
also small speedup for finding the longest edge
2012-04-25code cleanup: edge slide code had oddly named variables, added some comments ↵Campbell Barton
and renamed vars. also made BM_elem_select_set() a function (was a macro calling a function).
2012-04-25code cleanup: no functional change - had both EDBM_editselection_* and ↵Campbell Barton
BM_editselection_* funcs, replace EDBM_ funcs.
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