66f4f3a9f5
some more cleanup
2012-05-12 03:32:13 +00:00
097ebb0a63
ED_vgroup_copy_by_nearest_face_single()
...
excluded 4th vertex in faces for better result.
2012-05-12 02:13:26 +00:00
8d7de250f3
Tiny bit of cleaning.
2012-05-12 01:04:12 +00:00
c40d445ef7
ED_vgroup_copy_by_nearest_face_single()
...
Is supposed to work, but something funny is going on. (logick error)
Function also needs optimization.
2012-05-12 00:37:45 +00:00
f95f3d9697
Incomplete ED_vgroup_copy_by_nearest_face_single() compiles.
2012-05-11 21:33:24 +00:00
736c0ca6e0
svn merge ^/trunk/blender -r46463:HEAD
2012-05-11 19:26:43 +00:00
f61e50aa4e
it works!
...
Even it compiles some code might still not be implemented.
(I know the gui lacks).
2012-05-09 16:24:46 +00:00
f3230c7897
Second part of fix for [ #31157 ]: Some (actually, 172) operators have no tooltip.
...
About 30 undocumented ops remaining...
2012-05-05 17:10:51 +00:00
5da2135eef
code cleanup: double promotion & some style cleanup
2012-05-03 21:35:04 +00:00
a5af5e8f50
style cleanup: re - http://wiki.blender.org/index.php/Dev:Doc/CodeStyle#Braces_with_Macros
2012-04-30 16:22:40 +00:00
1b47e2678e
style cleanup: missed these from previous cleanup
2012-04-29 17:55:54 +00:00
e2c453b5f9
style cleanup: editors / mesh & object
2012-04-28 15:42:27 +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
b340f930ec
style cleanup: changes to brace placement / newlines - for/while/if/switch
2012-04-28 06:31:57 +00:00
077cbaddf0
- remove unneeded len_v3v3 in bevel code
...
- remove dead assignments from vgroup-blend
2012-04-24 04:44:51 +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
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
2a54ef0442
there was no way to reset timing for absolute shape keys, add an operator to do so.
2012-04-05 06:10:15 +00:00
d37d17019c
fix for vertex group blend - wasn't functional since the deform verts were being tken from a NULL array,
...
also made some other improvements
- make it work in weight paint vert sel mode (some unused code for this was in the function).
- add factor slider.
- add to weight paint toolbar.
2012-04-03 02:16:27 +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
ab4a2aaf4a
style cleanup: follow style guide for formatting of if/for/while loops, and else if's
2012-03-24 06:38:07 +00:00
4c3bb77012
style cleanup: spaces aroudn operators for operator definitions.
2012-03-22 07:26:09 +00:00
4f19c1a995
spelling cleanup
2012-03-18 07:38:51 +00:00
a2e00c6230
disable object outline draw when painting (its distracting), also fix for own recent mistake in vgroup_blend(). - had bad check for editmesh.
2012-03-09 22:00:40 +00:00
4f7bdc59d3
style cleanup: spelling.
...
also remove large, duplicate comments from sunsky.h
2012-03-09 00:41:09 +00:00
6029640bca
Many vertex group functions assumed mesh object when lattices could be operated on too.
2012-03-08 01:49:25 +00:00
52db32bb53
fix for 2 crashes from missing NULL checks.
2012-03-08 00:23:28 +00:00
f6ae27daef
style cleanup - comment spelling + translate some dutch.
2012-03-04 04:35:12 +00:00
a2c182e923
style cleanup - use aligned * prefixed blocks for descriptive comments (was already used a lot and part of proposed style guide).
2012-03-03 16:31:46 +00:00
622ac0dd16
code cleanup:
...
replace casts: '((Mesh *)ob->data)->edit_btmesh' with 'BMEdit_FromObject(ob)'
also minor style edits.
2012-03-02 12:09:49 +00:00
ea13ec1699
Spelling Cleanup
2012-03-01 12:20:18 +00:00
6d3cdbe0e5
Done BMESH_TODO in object/object_vgroup.c (make getSurroundingVerts() use polys/loops instead of tessfaces).
...
Also done a few optimizations of related code (OBJECT_OT_vertex_group_fix operator).
2012-02-20 22:16:20 +00:00
a368e6771a
- remove some unused editmesh functions.
...
- copy & rename EditMesh stricts for use with scanfill (remove unused members)
2012-02-19 22:17:30 +00:00
bc6bbcccc9
went over all uses of mesh->mface and added BMESH_TODO comments for
...
areas that need to be updated.
2012-02-15 14:39:18 +00:00
b6dcdb065d
code refactor, function renaming for bmesh.
...
These changes are to make the bmesh api more consistent and easier to learn, grouping similar functions which is convenient for autocomplete.
This uses similar convention to RNA.
* use face/loop/edge/vert as a prefix for functions.
* use 'elem' as a prefix too for functions that can take any type with a BMHeader.
* changed from camel case to underscore separated (like RNA).
2012-02-12 10:51:45 +00:00
8b43813b69
rename BM_ flags for BMHeader->hflag to BM_ELEM_ to be more clear that these flags apply to bmesh elements.
2012-02-12 06:24:12 +00:00
d7b8e7e9bc
Code Cleanup: use less confusing names for selection flushing.
2012-02-10 03:03:42 +00:00
7f797d9c83
fix [ #30103 ] Select vertex groups works only in vertex select mode
...
add selection flushing matching whats in trunk.
2012-02-08 14:29:14 +00:00
c7e8af13d4
remove cellalloc, from my tests jemalloc beats cellalloc, so we better just use a better malloc replacement.
...
See Details:
http://wiki.blender.org/index.php/User:Ideasman42/BMeshBranchReview#Update_43694
2012-01-25 20:18:12 +00:00
4966982a5a
svn merge ^/trunk/blender -r43564:43609
2012-01-22 18:04:35 +00:00
cd4123e1db
use inline BLI_math functions for dot product and length calculation.
2012-01-22 17:20:37 +00:00
b308e61312
svn merge ^/trunk/blender -r43220:43278 --accept postpone
2012-01-11 14:14:04 +00:00
0e4f4acc2f
comment unused vars
2012-01-09 22:18:04 +00:00
46f2233a93
svn merge ^/trunk/blender -r43085:43092
2012-01-03 07:33:11 +00:00
4e98dbe528
error in recent commit - disallow selecting hidden verts.
2012-01-03 02:45:03 +00:00
c0eec8f379
svn merge ^/trunk/blender -r43062:43085
2012-01-03 02:16:52 +00:00
1e18da32fb
replace:
...
CTX_data_pointer_get_type(C, "object", &RNA_Object).data
with api call:
ED_object_context(C)
... since getting the context object is such a common operation.
2012-01-02 17:15:24 +00:00
aa43cab820
weight paint buttons now work in weight paint vertex select mode
2012-01-02 16:59:46 +00:00
2457d4f5ab
svn merge ^/trunk/blender -r42680:42722
2011-12-19 10:40:48 +00:00