c3ca19800c
refactor screen foreach functions to accept float[2] arguments rather then int pairs.
...
overall means less converting between float and int (and short in some cases).
2012-10-10 01:22:19 +00:00
ad3f01e1d8
fix/workaround [ #31811 ] Subdivision Surface (Apply modifier to editing cage during Editmode) Loop Cut Crash
...
A correct fix for this bug likely involves changuing how operators are called in the event loop but such changes better not be made just before the release.
2012-09-28 11:02:43 +00:00
25c96bc9f3
code cleanup: remove unused macros, commet some which may be useful later - or good to keep for completeness. quieted some warnings and add flags -Wmissing-include-dirs and -Wno-div-by-zero to cmake/gcc
2012-09-20 01:02:39 +00:00
3d9637f60a
Fix [ #32133 ] Numpad Enter key doesnt work with Loopcut (worked in 2.49b)
...
Adding PADENTER to the "OK" keys...
2012-07-17 17:55:23 +00:00
70f50ed8fa
Fix [ #31939 ] Loop cutting a self intersecting face loop
...
Enabled use_gridfill for edgesubdivide called by loopcut. This will break edgeslide in this specific case (intersecting faceloop), but imho makes more sense this way than the other. Very easy to revert anyway, and this should only affect this specific cornercase.
2012-06-29 13:55:25 +00:00
d214b14052
Add missing/incorrect selection flushes.
...
Added selection flush after loop cut, changed select_linked_pick's
flush to use the em selection flag.
Fixes bug [#31715 ] Cases where verts and edges are selected but not
relevant faces
2012-06-11 10:14:46 +00:00
5534701e5d
style cleanup: use capital camel case names for typedef's
2012-06-10 15:20:10 +00:00
4effdf4aff
fix [ #31382 ] Loop Cut and Slide numpad (-)
...
investigation lead to finding 3 bugs here...
- transform key input handling didnt ignore minus key on an unsigned value as it should.
- not being able to set numcuts to 0 made typing in numbers not very useful.
- backspace would set the cuts to an unsigned value.
2012-05-10 07:10:39 +00:00
3ee4be913b
Fix #31139 : fractal mesh subdivide was only working along normal where previously
...
it would displace in all directions. Now there's an operator option to control this.
2012-05-03 10:14:08 +00:00
ef054e165c
style cleanup: format 'for' loop macros the same as for loops, some renaming to BLI_array macros.
2012-04-28 15:14:16 +00:00
47b6b60e5a
code cleanup: no functional change - had both EDBM_editselection_* and BM_editselection_* funcs, replace EDBM_ funcs.
2012-04-24 21:19:18 +00:00
b51590d55d
code cleanup: bmesh subdivide code - BM_mesh_esubdivideflag() & "esubd" bmesh operator was passing a flag about in a fairly confusing way.
...
since we will eventually have python bmesh operator access better expose this as multiple booleans.
remove remaining editbutflag's
2012-04-23 03:43:02 +00:00
b26865ba99
code cleanup: prefer BM_face/edge/vert_select_set() over BM_elem_select_set() when the type is known (saves switch statement check on the type).
...
Add asserts so the correct types are ensured.
2012-04-20 16:55:47 +00:00
b40476455e
code cleanup: remove unused BMesh args.
2012-04-19 14:38:09 +00:00
475ecbb0ce
remove BM_ITER, BM_ITER_INDEX macros, use ELEM or MESH variants only (the maceros had unused args in both cases).
2012-04-19 13:47:58 +00:00
75b869e428
style cleanup: BM_ITER / BM_ITER_INDEX / BMO_ITER
2012-04-19 11:44:12 +00:00
152b253c2c
remove duplicate notifier event
2012-04-13 15:33:29 +00:00
817a96f243
fix [ #30735 ] bmesh: loop-cut cuts faces isolated by hidden faces
2012-04-03 06:12:04 +00:00
f87c5b3453
fix [ #30715 ] bmesh: select linked not ignoring hidden verts/edges/faces
...
add optional flag to ignore hidden elements.
also remove loop mask flag - since it wasnt used and vert/edge/face is enough.
2012-03-29 13:09:07 +00:00
09f29c0b70
style/name cleanup: have EDBM_* functions match our style guide and also match BM_ function naming conventions
2012-03-27 04:46:52 +00:00
48f0444760
style cleanup: editors/mesh - mostly whitespace around operators
2012-03-26 02:56:48 +00:00
2f348d8b5d
style cleanup: mainly for mesh code, also some WM function use.
2012-03-24 02:51:46 +00:00
0c898514f0
code cleanup: bmesh_ source files in our editor dir, they are the same as other editmesh_ files.
2012-03-24 00:20:36 +00:00