a5af5e8f50
style cleanup: re - http://wiki.blender.org/index.php/Dev:Doc/CodeStyle#Braces_with_Macros
2012-04-30 16:22:40 +00:00
70f1279eab
Add convex hull operator (bmesh operator and wm operator.)
...
Image-heavy user documentation:
http://wiki.blender.org/index.php/User:Nicholasbishop/Convex_Hull
Thanks to Campbell for providing code review:
http://codereview.appspot.com/6114060
2012-04-29 16:09:40 +00:00
04d8ef3c47
wireframe option to crase edges at the hub, much nicer subsurf
2012-04-29 12:33:56 +00:00
41a5e731a2
bmesh: new wireframe tool
...
- makes wireframe from faces.
- options similar to inset (even offset, relative scale)
- copies face settings and loops (uvs, vcolors)
- optionally replaces the existing geometry.
2012-04-29 10:44:00 +00:00
2585d52405
Merged changes in the trunk up to revision 46045.
...
Conflicts resolved:
doc/python_api/sphinx_doc_gen.py
source/blender/blenkernel/intern/subsurf_ccg.c
source/blender/editors/mesh/editmesh_tools.c
source/blender/makesdna/DNA_scene_types.h
2012-04-29 00:59:04 +00:00
c91fd5a0bf
code cleanup: remove editmesh code left hanging around thats already been ported to bmesh, also remove main editmesh header.
2012-04-28 12:23:05 +00:00
b340f930ec
style cleanup: changes to brace placement / newlines - for/while/if/switch
2012-04-28 06:31:57 +00:00
dc313ff00d
add back lasso tool in the UV editor (Ctrl+LMB / Ctrl+Shift+LMB)
2012-04-28 01:59:21 +00:00
7669d0e317
disable bevel for release after discussion with brecht and sergey, this works far too poorly to be included in release.
2012-04-25 10:24:31 +00:00
4c873fec53
bmesh py api: functions to add/renmove customdata layers, eg.
...
bm.loops.layers.color.new("Testing")
2012-04-23 14:52:28 +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
4c4389f6a4
code cleanup: remove editbutflag flag from toolsettings & related defines.
2012-04-23 02:48:05 +00:00
8765dfccf7
style cleanup: correct typos
2012-04-21 14:14:58 +00:00
1c54eaecd8
fix [ #31049 ] New Faces (F) always solid shaded
2012-04-21 13:58:29 +00:00
cdbfd1db38
Merged changes in the trunk up to revision 45820.
...
Conflicts resolved:
source/creator/creator.c
2012-04-21 00:33:36 +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
384f87cd1c
rip tool wasnt working on a single edge selection in some cases (own error in recent fix).
2012-04-19 23:16:57 +00:00
e387ccdb42
bmesh inset: add depth option (make use of relative and even offset options)
2012-04-19 19:03:15 +00:00
c7f8af329b
BMESH_TODO: randomize vertices working again.
...
That whole "element re-arrange" area could use some love, though (e.g. make a single vert operator with more options, as faces; and make faces work in edit mode, probably no more reasons to switch to object mode?). Post-release TODO, anyway.
Also spotted a glitch in BLI_rand code, imho, which makes first element of an array not guarantied to be shuffled by BLI_array_randomize()... No correction though, as this might/would affect other parts of the code!
2012-04-19 18:53:32 +00:00
e730c1af6d
committed check by mistake, its not needed.
2012-04-19 17:26:22 +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
3ef7943910
code cleanup: first step to replace BM_ITER BM_ITER_INDEX macros.
2012-04-19 12:45:56 +00:00
7cadd242d3
BMESH_TODO: xsort of vertices working again.
...
This commits adds a new function which can remap vertices/edges/faces of a BMesh in a new given order:
void BM_mesh_remap(BMesh *bm, int *vert_idx, int *edge_idx, int *face_idx)
2012-04-19 12:31:39 +00:00
75b869e428
style cleanup: BM_ITER / BM_ITER_INDEX / BMO_ITER
2012-04-19 11:44:12 +00:00
1f01d62d15
more replacement for BM_edge_face_count() use.
2012-04-18 06:57:28 +00:00
09f722740f
move rip out into its own file
2012-04-17 10:25:23 +00:00
3486223607
code cleanup: remove/comment some unused code.
2012-04-17 05:09:37 +00:00
37a79f4727
fix [ #30972 ] Editmesh split by materials not working.
2012-04-16 13:49:04 +00:00
4ebcae7158
bmesh todos:
...
- dont do name based object lookup to find the object for a mesh undo state (possibly object is renamed inbetween undos which would crash)
- remove some todo comments for things that are working as they should.
2012-04-16 09:34:43 +00:00
97538bd9ed
Fix #30960 : various mesh operators were missing tooltip descriptions.
2012-04-15 10:07:57 +00:00
637387b8ac
Fix #30949 : live unwrap when marking seams did not work with bmesh.
2012-04-15 09:20:42 +00:00
e5bda9f827
Fixed some UI message typos (spotted by Leon Cheung, thx).
2012-04-14 15:44:31 +00:00
4a19ccfa5f
Merged changes in the trunk up to revision 45619.
2012-04-14 10:38:11 +00:00
e9358a3806
bmesh api changes:
...
- remove recently added BM_mesh_select_flush_strip(), functions purpose wasn't clear.
- add BM_mesh_elem_hflag_disable_test(), BM_mesh_elem_hflag_enable_test()
to match existing BM_mesh_elem_hflag_enable/disable_all(), these take a hflag to test before editing each element.
This replaces the need for BM_mesh_select_flush_strip().
2012-04-13 04:02:26 +00:00
8c70caf966
fix for UV reveal (wasnt selecting all verts because check for unselected vert was incorrect after selecting the first face).
2012-04-13 03:41:07 +00:00
c74ace03e0
fix [ #30907 ] Inset tool with Select Outer disabled does not allow translation of new faces
...
inset with select-inner faces gave invalid selection.
also correct spelling in some comments.
2012-04-12 07:40:47 +00:00
93e00af7e5
Fix #30850 : bevel tool only works on edges but tooltip indicated it worked on
...
vertices too, fixed tooltip. Also add bevel to edge menu since it works edge
based.
2012-04-10 15:51:22 +00:00
f5bb4635c6
fix [ #30852 ] Wrong Material ID applied for the new faces
2012-04-09 05:17:07 +00:00
68daca1cbf
Fix [ #30853 ] "Merge At Last" is missing in multicomponent mode
...
Mode selection inverted in multicomponent mode including vertices.
2012-04-07 23:31:15 +00:00
831f0e6283
option to have inset face select the interior faces (mango request)
2012-04-06 10:33:45 +00:00
4c8febf3ea
Merged changes in the trunk up to revision 45431.
2012-04-06 03:37:27 +00:00
3a33568261
patch [ #30812 ] Couple operator tooltip proposals (editmesh_tools.c)
...
from Sebastian Nell (codemanx), with some edits.
2012-04-05 07:05:44 +00:00
79e2cd8fdf
Merged changes in the trunk up to revision 45383.
2012-04-04 00:50:41 +00:00
48059cc329
fix problem with select invert - flush selection.
...
previously this wasnt needed because doing an undo push would flush the selection.
2012-04-02 09:07:02 +00:00
7d9f0232df
adding back boundary inset support. was disabled because at one point it was unstable.
2012-04-02 08:58:26 +00:00
7d184567d7
fix [ #30758 ] bmesh: unable to rip a single vertex
...
this also adds the ability to rip disconnected face fans apart which is handy.
2012-04-02 08:35:12 +00:00
4253e52771
fix [ #30768 ] Project from View UV map tool includes hidden geometry r45323
...
select all could select hidden faces, now BM_mesh_elem_flag_enable/disable_all takes an argument to skip hidden elements.
2012-04-02 04:45:44 +00:00
4c36a26af5
Merged changes in the trunk up to revision 45308.
...
Conflicts resolved:
source/blender/editors/interface/resources.c
source/blender/editors/mesh/editmesh_select.c
source/blender/editors/space_view3d/drawobject.c
2012-03-31 22:09:43 +00:00
c7aed8b2af
For BMesh functions that test flags, add enabled/disabled variants.
2012-03-30 17:30:49 +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