Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-03-04style cleanup / comment formatting for bli/bke/bmeshCampbell Barton
2012-03-02style cleanupCampbell Barton
- 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.
2012-03-02code cleanup:Campbell Barton
replace casts: '((Mesh *)ob->data)->edit_btmesh' with 'BMEdit_FromObject(ob)' also minor style edits.
2012-02-29Fix #30328: Crash when using edge slideSergey Sharybin
Looks like it was missed BMesh element index for faces in emDM_drawMappedFacesMat. There was already call of BM_mesh_elem_index_ensure to ensure there's element index for vertices, added flag to ensure there's also index for faces.
2012-02-21Fix #30270, #30265: cycles not displaying textured objects, and not renderingBrecht Van Lommel
text/curve objects after the bmesh merge. Also removed a debug print.
2012-02-20- remove some unused editmesh functions.Campbell Barton
- copy & rename EditMesh stricts for use with scanfill (remove unused members)
2012-02-19svn merge ^/trunk/blender -r44213:44235 --- fixes bmesh shading bug [#30125]Campbell Barton
2012-02-19Change texface draw to always use glShadeModel(GL_SMOOTH), with texface draw.Campbell Barton
without this each face would get a solid color, this is the same method used in object mode. also copy BLI_array.h fix from bmesh branch.
2012-02-19skip per face texface poly lookup while drawing when the layer isnt found.Campbell Barton
also remove some unused code.
2012-02-19left print in by mistakeCampbell Barton
2012-02-19edit-derived-mesh had a table for vert/edge/face lookups - that were never used.Campbell Barton
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.
2012-02-12code refactor, function renaming for bmesh.Campbell Barton
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-12rename BM_ flags for `BMHeader->hflag` to BM_ELEM_ to be more clear that ↵Campbell Barton
these flags apply to bmesh elements.
2012-02-08Code Cleanup:Campbell Barton
macro for copying polygon settings
2012-02-07Code Cleanup:Campbell Barton
- use 'oflag' for operator flag arguments. - use TRUE/FALSE for some bool args
2012-01-24fix for 3 issues when applying a deform modifier in editmode.Campbell Barton
- drawing face normals was broken (using wrong index). - drawing flat faces in solid mode would display ugly tesselation normals (as if the model was made of triangles). - drawing smooth faces in solid mode would show vertex normals based on tesselation (heavily slant in 1 direction). now the normals are calculated and stored per polygon (will save some memory too for non tri meshes).
2012-01-24remove redundant casts.Campbell Barton
2012-01-24simplify editmesh mapping lookups.Campbell Barton
this really has no effect since they were not created or used, however if we want to use emDM_getEdge or emDM_getTessFace this will need to be called.
2012-01-23improve editmode triangulation by re-using the loop array whenCampbell Barton
possiblem, this has to guess when the size is too big so as to re- well. If this isnt done, then the number of faces is used to allocate the initial array to at least avoid many small allocs. added BLI_array_reserve() to reserve elements and avoid reallocing many small arrays when the loop starts.
2012-01-23disable re-tesselation for modifiers that use bmesh, array/bevel/edge split ↵Campbell Barton
- were tesselating 2 times and didnt need to. also comment array modifier from flushing selection flags.
2012-01-20- disable re-tesselating derived meshes in BMEdit_RecalcTesselation() have ↵Campbell Barton
modifier stack do this. - made editbmesh_calc_modifiers() ensure tessfaces, this has the advantage that if the tessfaces are already created they wont get re-made as was happening before.
2012-01-13svn merge ^/trunk/blender -r43294:43338Campbell Barton
2011-12-13save 4 bytes per BMLoop, added some comments on index use.Campbell Barton
2011-12-10svn merge ^/trunk/blender -r42521:42550Campbell Barton
2011-12-09Mesh drawing optimization and fixes:Sergey Sharybin
- Pass MFace, MTface and OrigIndex arrays via userData to compareDrawParams callback rather than looking up for this layers for each face - This allowed to avoid massing DM to compare callback which seems like a bad-level pass - Fixed crashes on some video cards when assigning different materials to different faces in edit mode. Both of intel and nvidia cards in my laptop were affected by this error
2011-12-07remove BMEMSET define, use memset insteadCampbell Barton
2011-12-02changes to derived mesh editmode functions to be in closer sync with trunk.Campbell Barton
2011-12-02move editmesh derived mesh functions into their own file to match bmesh, ↵Campbell Barton
without this all merges in this area have to be done manually.
2011-12-02file rename, will do the same in trunk to make merges less of a hassleCampbell Barton