051cf6abf8
Style Cleanup:
...
replace 0/1 with TRUE/FALSE define.
2012-02-07 17:42:46 +00:00
e511993f9c
Code Cleanup: remove unused operator flags
2012-02-07 13:10:01 +00:00
f552164c71
Style Cleanup: whitespace and some formatting.
2012-02-07 08:50:24 +00:00
c6f07c651e
rename defines to upper case.
2012-02-06 22:57:25 +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
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
11d5a2d2eb
Code Cleanup: style change only
2012-02-05 15:55:28 +00:00
e4b712608e
when calculating the size to bevel when the factor is measured against the face, use the shorter edge rather then the middle.
...
this reduces overlapping geometry.
2011-12-14 00:43:42 +00:00
6254cc1c70
2 new bevel options for the operator and the modifier.
...
* even offset, uses same shell distance method as solidify to give even with beveled faces.
* distance offset, this is mostly for compatibility with the modifier in trunk which uses the bevel width as a distance rather then a percentage. at the moment this is awkward for the operator since it makes percent act differently where the 0-1 range doesnt make sense.
still need to bring back more options from trunks bevel modifier.
2011-12-13 09:57:19 +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
8c521496dd
save 4 bytes per BMLoop, added some comments on index use.
2011-12-13 05:20:02 +00:00
30d129593b
non functional changes & de-duplicate yet another face center function
2011-12-12 23:58:05 +00:00
3aebfe7a7f
formatting and variable rename edits only.
2011-12-12 22:25:28 +00:00
80da50270d
slight improvement to bevel, when using the edges to take the new vertex location into account, dont let the longer edge skew the new position.
...
also include an new & improved vertex placement method but left commented for now.
2011-12-12 09:28:46 +00:00
3d64d5afb6
minor bevel improvement
...
- concave vertices in a polygon were not correctly checked for.
- remove commented method of calculating bevel vertex positions, have a similar/better method coming.
2011-12-12 09:09:01 +00:00
a115c02605
bmesh: fixed crash in bevel
2011-12-04 00:44:09 +00:00
f8d5a01562
more work on getting bmesh dirty index flags reliable.
...
now there very close, some hard to redo cases to check on.
2011-11-28 06:49:16 +00:00
8d6b280cac
minor changes
...
- comment BM_SetIndex as setting dirty.
- have alloc_flag_layer validate the index data and clear the dirty flag since it loops on the data anyway.
2011-11-28 05:56:00 +00:00
4801ecae71
replace unhelpfully named eck! and eek! error prints, also some minor changes to math library use.
2011-11-24 23:09:55 +00:00
cccb06d92b
Add nodoubles arg to BM_Make_Face
2011-10-13 04:58:34 +00:00
1f12740a82
make error prints more helpful & correct some comments for rip code.
2011-09-24 12:13:13 +00:00
88d1ce74cf
fix for typo in bevel code.
2011-09-12 15:13:31 +00:00
2448f8caa9
code cleanup - commant/remove unused vars and reduce scope.
2011-09-07 06:49:20 +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
6dc8a64d3e
=bmesh= fixed non-multires sculpt; excluding the DAG update won't work here, since the tesselation has to be recalculated.
2011-05-12 17:47:26 +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
5a2a3d7d82
more syncing with trunk, also cleared many warnings with gcc4.6
2011-05-09 04:06:48 +00:00
3462ddf17f
=bmesh=
...
Cut out some unwanted differences with trunk
in preparation for merge. Also fixed some
warnings, though many remain.
2011-05-07 02:48:14 +00:00
a141cea6fe
=bmesh= fixed a memory leak
2011-04-16 13:00:41 +00:00
372141e672
=bmesh= bevel flag fix so recursion works on single edges.
2011-04-15 23:42:43 +00:00
a354b148b5
=bmesh= connected PET now works, for the most part
2011-04-15 07:08:36 +00:00
c98148a963
=bmesh= merge from trunk at r36153
2011-04-15 01:19:13 +00:00
1c56255ca7
=bmesh=
...
Edge slide now handles facedata (e.g. sliding within uv
space), including multires.
2011-04-13 21:48:16 +00:00
8d6657e562
=bmesh= fixed some minor bugs with bevel/knife creating duplicate/overlapping faces
2011-04-13 03:56:14 +00:00
7fa0c61730
=bmesh= bevel now interpolates vertex data. still need to make sure edge data, like creases, get copied over in all cases, though.
2011-03-27 03:06:21 +00:00
93fa307712
=bmesh=
...
Multires interpolation. It's quite usable yet; I wanted to avoid
subsurfing the multires data and ray tracing original/new
topology. The result is kindof like trunk's interpolation.
I'll see how much better I can get it. I might have to go with
the full-on ray tracing solution. Right now, it's not very good.
Also made it so trunk files with multires open correctly.
2011-03-27 02:56:41 +00:00
8fb3ab5ab2
clear more warnings.
2011-03-20 16:30:39 +00:00
1216fe7f21
=bmesh=
...
Bevel! Implemented bevel (from scratch). Man is
this tool way cooler then I thought it was. Note that
uv/vcol interpolation is working (loop level data) but
vert/edge data (like vgroups) likely still needs
work.
2011-03-17 22:59:54 +00:00