Age | Commit message (Collapse) | Author |
|
|
|
filling it for verts/edges/faces on every redraw.
this may introduce bugs which I didn't catch, but they are very easy to identify in a debug build which has asserts to ensure the arrays are valid before use.
in my own test drawing ~98,304 quads - this gave an overall ~16% drawing speedup.
|
|
|
|
Undo would leave BMEditMesh->me pointer NULL, this would likely crash EDBM_verts_mirror_cache_begin() too.
Rather then restore 'me', remove the pointer altogether and use BMEditMesh->ob->data to save us having to keep track of 2 pointers.
|
|
|
|
match BM_ function naming conventions
|
|
problem was that BMesh had tessellation call when undo pushes were called.
if python called an operator with no undo push, tessfaces would not be created.
fix this by making it the responsibility of each editmesh operator to re-tessellate, as it is with notifiers and depsgraph.
added EDBM_update_generic() function to add notifier, tag for depsgraph update and optionally re-tessellate.
|
|
|
|
|
|
- spelling - turns out we had tessellation spelt wrong all over.
- use \directive for doxy (not @directive)
- remove BLI_sparsemap.h - was from bmesh merge IIRC but entire file commented and not used.
|
|
replace casts: '((Mesh *)ob->data)->edit_btmesh' with 'BMEdit_FromObject(ob)'
also minor style edits.
|
|
removed these and replaced them with calls to BM_vert_at_index, BM_edge_at_index - which are not ideal but same as trunk does.
|
|
- use consistant header guards
- correct doxy comments
- remove ED_toolmode.h (unused)
|
|
- were tesselating 2 times and didnt need to.
also comment array modifier from flushing selection flags.
|
|
|
|
layer would break editmesh mirror editing.
|
|
|
|
tesselation face normals writable to disk.
|
|
trunk/2.5 at r24811 I thought I'd committed but did not, yeek.
|
|
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.
|
|
|
|
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.
|
|
access problems. also committing some playing around I did with the edge subdivide code, which isn't doesn't really completely work.
|
|
mesh on failure
|
|
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.
|
|
and MLoop.
|
|
needed on this code. also did some work on the select infrastructure; the bmesh api now tracks the number of selected verts/edges/faces.
|
|
more serious warnings, and also non-backbuffered selection sortof works now, though it still needs plenty of work.
|
|
replaced with bmesh. this is not usable by any means. for those who read through this, note the design is still fairly messy in places, and fyi BMTessMesh is the replacement for EditMesh, I need to rename it to BMEditMesh.
|