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
2014-06-05Code cleanup: mixup hflag/htypeCampbell Barton
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-15Various fixes/improvements regarding BMesh's elem_index_dirty and BM_LOOP ↵Bastien Montagne
handling. Most notably, BM_LOOP and BM_FACE index recompute should now be fully decoupled.
2014-04-10BMesh: DM_to_bmesh_ex, no need to callocCampbell Barton
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2013-09-24allocate bmesh data from known sizes where possible (was still using ↵Campbell Barton
defaults in places), add macros for initializing BMAllocTemplate's, also add assert on invalid use of bmesh_sfme()
2013-08-21bmesh api cleanup, face creation args now accept an example face (as with ↵Campbell Barton
vertex and edge), also replace BM_face_create_quad_tri_v with BM_face_create_verts
2013-07-28move alloca define into its own header since its not related to BLI_arrayCampbell Barton
2013-07-23code cleanup: remove deprecated bevel code (unused since 2.64)Campbell Barton
2013-06-03fix [#35555] Collada: export destroys mesh in some casesCampbell Barton
add arguments to calculate normals when converting to bmesh: BM_mesh_bm_from_me, DM_to_bmesh This gives some speedup to undo (which didnt need to re-calculate vertex normals), and array modifier which doesnt need to calculate face normals at all
2013-05-30modifier stack: lazy initialize normalsCampbell Barton
many modifiers were calculating normals, when those normals were ignored by the next modifier. now flag normals as dirty and recalculate for modifiers that set use `dependsOnNormals()` callback. Quick test on mesh with 12 modifiers (mostly build type), calculated normals 6 times, now it only runs once - so this will give some speedup too.
2013-05-09can't use alloca in inline functions (fills up stack - I thought compiler ↵Campbell Barton
would be smart here). also reserve the exact number of vert/face/edge/loops when creating a bmesh during undo.
2013-05-09bmesh: avoid using BLI_array macros for every face when converting to bmesh, ↵Campbell Barton
replace with alloca
2013-04-16code cleanup: use BKE naming conventions for functions in BKE_editmesh.h and ↵Campbell Barton
BKE_editmesh_bvh.h
2013-04-14code cleanup: rename BKE_tessmesh -> BKE_editmesh, rename ↵Campbell Barton
EditDerivedBMesh.tc -> em. ('tc' is odd name which isn't used elsewhere).
2013-01-10speedup for DM_to_bmesh_ex(), no need to check vertex order when converting ↵Campbell Barton
faces since the loops are already in order, will speedup modifiers that use bmesh.
2013-01-10minor speedup for DM_to_bmesh_ex(), only duplicate the edge array when the ↵Campbell Barton
derivedMesh type isn't a CDDM.
2013-01-10don't store bevel weights or edge crease customdata layers in editmode ↵Campbell Barton
unless they are needed. configurable in 'Geometry Data' panel, will be added when running crease edges transform for example.
2013-01-08fix [#33792] Accessing a bmesh object created by from_object crashes blenderCampbell Barton
Issue was customdata wasnt being initialized for layers in the destination BMesh but not in the source data.
2013-01-07dont copy the mvert array in DM_to_bmesh_ex()Campbell Barton
2012-12-17fix [#33551] End Caps on a curve array with subsurf crashes blender when ↵Campbell Barton
entering Edit Mode DM_to_bmesh_ex could merge a 'dm' into an existing BMesh, in that case CD_ORIGINDEX values needed to be set to ORIGINDEX_NONE.
2012-11-29fix [#33029] Applying modifier leaks memoryCampbell Barton
Thanks for Sergey for finding the bug & patching, This fix works a bit differently. Theres no need to allocate the customdata in the first place - since its written into. So add a flag for vert/edge/face/loop creation functions so they can skip customdata creation.
2012-10-20code cleanup:Campbell Barton
- define array sizes for functions that take vectors. - quiet some -Wshadow warnings. - some copy/paste error in readfile.c made it set the same particle recalc flag twice.
2012-10-19DM_to_bmesh_ex() now initializes index values when running in empty meshes. ↵Campbell Barton
saves running extra loop on vert/edge/face data if these values are needed after.
2012-10-01add compiler hints that failing to create a bmesh face is unlikely.Campbell Barton
2012-10-01fix [#32713] Crash with modifiers + GLSL modeCampbell Barton
crash caused by own commit r50969, the fix exposed a crash in an area of code that must have never been used before.
2012-06-27style cleanupCampbell Barton
2012-04-28style cleanup: format 'for' loop macros the same as for loops, some renaming ↵Campbell Barton
to BLI_array macros.
2012-04-06Fix [#30832] Weight on Bevel modifier has no effect for edges with weight.Francisco De La Cruz
Added missing CD_BWEIGHT layer for the modifier's DerivedMesh.
2012-03-27Partial fix for bug 30695, "Array broke crease, weird visibility and slowdown"Nicholas Bishop
* Array modifier creates BMesh from DM; add missing CD_CREASE layer for edge creases. * With a modifier stack like mirror+subsurf+array, face normals were wrong. Fix by removing CD_NORMAL layer from CCGDM output. Previously the elements in this layer were simply copied, so they did not reflect subdivision correctly. * Minor style fixes in bmo_dupe.c. Issues not yet addressed: * Subsurf's optimal draw setting for hiding subdivision edges is not respected by the array output. * Slowdown issue; array modifier is much slower than in 2.62.
2012-03-21spelling cleanup: tesselate -> tessellate (last of these found)Campbell Barton
2012-03-11remove Object member from BMesh struct - was only used for undo and ↵Campbell Barton
BMEditMesh already stores an object pointer. also fix for own mistake with mesh conversion refactor, shape key index was off by 1 when switching editmode.
2012-03-10picky changes to mouse cursor text selection behavior, previously as soon as ↵Campbell Barton
the mouse was before a character it would select the previous, even if the cursor was closer to the space between the next 2 chars. now find the closest point inbetween both chars.
2012-03-06Actual fix for mango files crashes on loadSergey Sharybin
Was caused by recent code cleanup.
2012-03-06quiet some warnings and fix build error with strict casting rules.Campbell 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-02bmmesh api - use struct rather than int[4] to initialize mesh sizes.Campbell Barton
also correct bad assert() in previous commit.
2012-02-28bmesh code cleanup - remove most of BKE_bmesh and remove BKE_bmeshCustomData.h.Campbell Barton
2012-02-12bmesh minor refactorCampbell Barton
* add DM_to_bmesh_ex, DM_to_bmesh for converting a derived mesh to a BMesh (rather than a BMEditMesh) * have a generic variable for allocsize: bm_mesh_allocsize_default, rather than copying the values about.
2012-02-12rename CDDM_To_BMesh to DM_to_editbmesh, since theres no requirement forCampbell Barton
the input to be a CDDM. remove conversions to CDDM for edge split and bevel (will give some speedup).
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-11mode bmesh include cleanup, remove unused file too.Campbell Barton
2012-02-11include cleanupCampbell Barton
2012-02-11GPL Header CleanupCampbell Barton
2012-02-10Style CleanupCampbell Barton
2012-02-07Style Cleanup:Campbell Barton
replace 0/1 with TRUE/FALSE define.
2012-01-23replace BLI_array_growone() with BLI_array_growitems() when the size of the ↵Campbell Barton
increase is known ahead of time, will reduce reallocs and give some speedup.
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-20minor warning/fixesCampbell Barton
2011-12-01error in recent commit Campbell Barton