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
Ken Hughes
14b1c412e0
BMesh branch
...
------------
Fix some gcc warnings and errors (under linux anyway).
2010-03-11 18:27:45 +00:00
bacd2a0f26
a bug fix and a compile fix
2009-11-03 05:06:04 +00:00
55c1d9d4bc
shapekey bugfixes
2009-11-02 16:01:24 +00:00
e3a410d224
shapekeys are now stored as customdata in editmode, so edit operations like subdivide work (mostly) correctly. tesselated faces now store correct normals in more situations. and added more missing files from the last merge, there may be more though.
2009-11-02 06:33:16 +00:00
2d0d4e7de4
commit before doing some hefty shapekey change, will break compilation
2009-11-01 00:06:53 +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
db017a3b42
rewrote edge split modifier to be simpler and hopefully faster. and of course it handles ngons properly now.
2009-09-11 10:21:54 +00:00
4652d66c0a
editmode undo stores data as mesh dna now, instead of bmesh copies. also fixed a bug related to vpaint and hide flags.
2009-09-10 06:08:52 +00:00
e0a014a45f
finished removedoubles, and inlined a bunch of functions.
2009-09-09 06:28:58 +00:00
287cc0fad8
miscelleneous bug fixes and mem leak fixes
2009-09-06 06:47:59 +00:00
67c64cf82b
more optimization stuff. transformed a few functions into macro that profiling showed were taking a bunch of time. also have some work-in-progress (if disabled) stuff related to inlining, which I'm trying to get working but may be too much trouble.
2009-09-06 02:43:36 +00:00
8823761534
vpaint works with the new face structures, yay, though it probably still has issues, needs more testing. also hopefully fixed subsurf crash everyone but me was getting, what I found should have caused crashes even for me, no idea why it did not. also got face flags to work with subsurf, and partially got materials, though theres still a problem there.
2009-08-30 21:30:07 +00:00
928ba541cf
edge ring select works again.
2009-07-29 00:43:05 +00:00
22bd3c8995
revert part of this thing I was doing with ccgsubsurf
2009-07-26 13:26:59 +00:00
0b6066c8f1
replaced use of bmesh tesselator with scanfill when leaving edtmode and generating the mface tesselation data. also fixed a normals problem.
2009-07-26 13:12:55 +00:00
5fcbb36b79
assorted uv fixes
2009-07-25 14:13:26 +00:00
19a2da9303
first pass at the uv code. uv editor now mostly uses new bmesh structures for uvs.
2009-07-21 08:39:58 +00:00
f2138686d9
moved the selection history stuff within bmesh itself, to avoid memory access problems. also committing some playing around I did with the edge subdivide code, which isn't doesn't really completely work.
2009-07-17 10:54:00 +00:00
928258936f
mirror modifier is now feature-complete, though not all features can be tested at the moment. also cleaned up some of the memory leaks.
2009-07-17 00:32:19 +00:00
321246e6d9
vertex and uv layers now refernce mpolys/mloops in rna. also fixed some customdata-related problems.
2009-07-16 09:17:27 +00:00
3bade13503
pre-merge commit. the mirror modifier is currently in pieces, to be picked back up after the merge. there should be some removedoubles fixes, along with some other assorted fixes.
2009-07-14 06:13:43 +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
a457b7129c
further fixes for modifiers, and edge loop select works now.
2009-06-16 20:08:40 +00:00
80effa20b1
moved the active face pointer to BMesh, where I think it belongs. also made some fixes to the ccgsubsurf derivedmesh, and some general modifier bugfixes. note that modifiers are still rather buggy and crashy at the moment, heh :) also made some functions for converting Mesh flags to BMesh flags, and back.
2009-06-12 14:02:37 +00:00
b5aa425dee
Did some code cleanups. Added BM_ITER and
...
BMO_ITER macros to make defining iterator
loops easier. Moved some files around.
And also made the editmesh conversion functions
tesselate ngons to triangle fans, since it's
more stable for conversion, and editmeshes are
never displayed to the user anyway. And ported
akey to bmesh.
Next up I plan on adding face iterators to DerivedMesh,
since that's the last major chunk of major refactoring
left, I think, except perhaps the uv editor (at the
moment it's probably close to working, but it's still
converting to editmeshes for everything, which is very
bad).
2009-05-28 04:41:02 +00:00
5bb09886fb
mesh DNA modficiations; two new structures added for storing ngons, MPoly and MLoop.
2009-05-26 04:17:47 +00:00