542dfd94a5
Style Cleanup, use TRUE/FALSE defines.
2012-02-07 01:46:47 +00:00
286073fb4e
Style Cleanup
2012-02-07 00:13:29 +00:00
8733f89539
Style Cleanup: edits for line length
2012-02-06 06:26:54 +00:00
3c39c9dcf2
add in gpl headers
2012-02-06 06:10:11 +00:00
5c3fdfac77
Code Style: more code style edits.
2012-02-06 06:03:46 +00:00
e80c80dc51
replace some hard coded limits with defines
2012-02-06 05:18:08 +00:00
288a5b4b17
Style Cleanup: bmesh code style was a bit mixed - follow http://wiki.blender.org/index.php/User:Nazg-gul/CodeStyle
2012-02-06 04:37:27 +00:00
18763fd9c8
Minor Improvements...
...
- more efficient array growing
- use BM_NGON_STACK_SIZE for more static arrays
- dont use BLI_array for bevel code where size is known.
2012-02-05 23:09:07 +00:00
11d5a2d2eb
Code Cleanup: style change only
2012-02-05 15:55:28 +00:00
d7517ba285
correct comments
2012-01-26 06:39:51 +00:00
fe9aac7251
fix [ #28577 ] TODO: Make Face (Fkey) fails with isolated verts
2012-01-26 06:26:17 +00:00
57e6ac47a0
use TRUE/FALSE rather then 1/0, no functional changes.
2011-12-21 03:33:32 +00:00
143a654e6f
formatting and minor refactor of some bmesh functions.
...
* BM_Make_Quadtriangle --> BM_Make_Face_QuadTri_v
* BM_Make_QuadTri --> BM_Make_Face_QuadTri
2011-12-13 06:56:10 +00:00
8d0dc29aba
remove BLI_blenlib since its not needed in quite a few bmesh files
2011-12-12 22:34:05 +00:00
f246672811
when comparing lengths no need to sqrt
2011-11-28 01:20:53 +00:00
ac4b9ffcf3
2 of the 3 places that check 2 edges share a vertex were incorrect (silly mistake)
...
so make into a function: BM_Edge_Share_Vert()
2011-11-28 00:27:26 +00:00
8d9d3995c0
fix [ #29079 ] New face added with "F" has wrong winding
...
now newly created faces use the best winding order based on surrounding edges.
2011-11-25 01:18:48 +00:00
3ed866d2fc
svn merge -r41926:41932 ^/trunk/blender
2011-11-16 19:57:20 +00:00
9087cb91d4
quiet compiler warnings for BLI_array defines, split BLI_array_append into BLI_array_append / BLI_array_append_r, the latter returning the new array location.
2011-11-16 17:09:41 +00:00
da849bbfc0
prepare for flagging the bmesh has having invalid index values, so we can skip looping over all elements if its already valid.
...
- went over every BM_SetIndex call and added comments about its use, if its setting dirty values or correct ones.
- replace loops over all elements _just_ to set index values, with a new function, BM_ElemIndex_Ensure(...), this will eventually only initialize values when they are dirty.
2011-11-16 12:38:40 +00:00
b0a21add8a
replace bmesh specific macros with math functions, also some pedantic formatting edits.
2011-11-07 09:02:10 +00:00
85e0609c54
use char for BMHeader type and flag (saves 2 bytes per edge/loop/vertex/face)
...
also found mouse_mesh_shortest_path was casting edit selecton to the wrong type.
2011-11-01 14:36:23 +00:00
b03e78e1af
minor cleanup edits
2011-11-01 03:02:33 +00:00
a4fadadd06
implementation of bmesh_urmv (unglue region make vert) and use of it to fix ripping corners joining just two faces, which wasn't working before
2011-10-12 06:11:21 +00:00
1f12740a82
make error prints more helpful & correct some comments for rip code.
2011-09-24 12:13:13 +00:00
2fcb0eda01
fix make face sometimes crossing edges
2011-08-23 13:25:00 +00:00
cb9d2488e9
fix for rna type getting an boolean as an int, and gcc's -Wdouble-promotion
2011-08-20 20:19:58 +00:00
068c627013
remove unused vars
2011-05-13 13:17:30 +00:00
73e2b88f62
skip assigning vars for inline bmesh flag funcs, just cast.
2011-05-13 10:59:30 +00:00
1d8fa52883
rename BMINDEX_GET/SET to BM_GetIndex/BM_SetIndex
2011-05-13 10:49:26 +00:00
88c3781b7c
missing free call in rotsys_make_consistent
2011-05-12 00:20:35 +00:00
cd55aeaf6d
set many vars & functions as static,
...
also commented invalid pin theme alpha assignment so bmesh branch builds with -Werror
2011-05-11 02:14:43 +00:00
5ba0c2c049
tag unused arguments, quiet some warnings
2011-05-09 14:32:55 +00:00
b93594bf30
quiet more compiler warnings, also found a bug using printf rather then fprintf.
2011-05-09 05:09:07 +00:00
5a2a3d7d82
more syncing with trunk, also cleared many warnings with gcc4.6
2011-05-09 04:06:48 +00:00
133a1c2699
=bmesh= fixed edge split modifier, and a bug in knifetool reported by letterrip. also brought back beautify-fill.
2011-04-22 23:37:58 +00:00
f01261d040
merge with/from trunk at r35190
2011-02-27 06:19:40 +00:00
ef7904f2c4
commit of wip copy to work on other comuter
2010-10-26 19:13:17 +00:00
421823e34e
=BMesh: Super Knife Tool Alpha=
...
Implemented a new "super knife". Activate with k. Holding CTRL
will allow extended cutting ala old lines mode. Confirm with enter
and escape. You cannot cancel, btw, you can only confirm (and undo
later if you want). Hopefully I'll support undo within the tool soon.
* Supports cutting edges, into faces, etc. You can pretty much do whatever
you want. Will snap to vertices too.
* Note that if you cut into a face, it must be valid topologically when
you press enter to confirm.
* It's pretty and graphical :)
* You can only cut visible geometry.
* UVs/vcols are a little buggy still
Now, thou shalt all cease and desist all lack of motivation for
testing! No longer shall users put off testing until "it's cooler"!
:P
2010-09-25 01:54:58 +00:00
209b0773a9
=bmesh= fkey for dissolve works again, also fixed a crasher
2010-07-22 04:45:18 +00:00
8bcb71aebd
[finally! the commit went through]
...
=bmesh=
First pass at post-merge stabilization. Seems to work well enough now, but
I need to do more testing. Also need to go through bmesh_class.h and make
sure the design/headers there make sense.
2010-07-22 00:18:35 +00:00
c11c196efa
part 1 of merge from trunk at r30358; it compiles, but doesn't link quite yet :)
2010-07-19 04:44:37 +00:00
a37bcf93ef
wip commit; DO NOT USE. almost done with phase 1 of this restructuring, basically just some things that needed to be done before trunk (and some things that needed to be started, but can be finished much later).
2010-07-14 22:06:10 +00:00
71003b9bcc
merge with trunk at r27259 and commit of a patch by anthony jones to fix msvc (though further work may be needed because changes made by the merge
2010-03-09 04:32:40 +00:00
0e165c55bb
did math lib conversion, equivilent to merge with trunk/2.5 at r24464
2009-11-23 14:41:22 +00:00
0c65f27c79
part 1 of cleaning up my little array macro library to be a formal API. also removed some extraneous selection calls from loopcut.c.
2009-09-17 23:05:33 +00:00
a54a9d5d4e
fkey on two broken edge loops will create an ngon now, as will fkey on one broken edge loop
2009-09-12 08:41:39 +00:00
f81606b4bf
fixed some memory leaks, and made fkey only do one thing at a time.
2009-09-10 11:50:50 +00:00
3ba1ac13d0
coded implemented for create faces from edgenet. note this is automatically executed from fkey now where appropriate, without popping up an annoying menu. also forgot to commit some ui scripts related to the pinning commit.
2009-09-10 11:23:34 +00:00
454eb8793d
Array modifier is now implemented using bmesh
...
(though it's not completely feature-complete yet).
I ported over the remove doubles code from the
old bmesh branch for this, and split it into two
bmops, "Weld Verts" and "Remove Doubles".
Weld verts welds specific verts together, while remove
doubles finds doubles and welds them.
I also reverted the hotkey change I made earlier.
2009-06-23 05:35:49 +00:00