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-10-31make use customdata typeoffset more, add an assert to ensure its to date.Campbell Barton
2012-10-01add compiler hints that failing to create a bmesh face is unlikely.Campbell Barton
2012-09-19code cleanup: make shape key api names consistent with our new convention.Campbell Barton
2012-08-23Fix #32387: some mesh modifications breaking other shape keys.Brecht Van Lommel
The vertex shapekey index is now no longer copied, and propagation of offsets in the basis to other shapekeys is disabled if new vertices were added. The reason being that the propagation will only be done for the old vertices leaving the new ones behind, and so doing e.g. subdivide + translate on the basis would create a mess on other shape keys.
2012-06-24style cleanypCampbell Barton
2012-05-22fix [#31489] EdgeSplit modifier prevents All Edge to be work correctly since ↵Campbell Barton
2.63 bmesh regression where the edge-draw flag was cleared when bmesh modifiers were used.
2012-04-28style cleanup: format 'for' loop macros the same as for loops, some renaming ↵Campbell Barton
to BLI_array macros.
2012-04-24fix own error with subdivision (broke icosphere), also noticed icosphere ↵Campbell Barton
vanished at subd-5 which didnt happen before bmesh.
2012-04-20fix for error using uninitialized variable with shape key conversion.Campbell Barton
2012-04-20code cleanup: prefer BM_face/edge/vert_select_set() over ↵Campbell Barton
BM_elem_select_set() when the type is known (saves switch statement check on the type). Add asserts so the correct types are ensured.
2012-04-19code cleanup: remove unused BMesh args.Campbell Barton
2012-04-19remove BM_ITER, BM_ITER_INDEX macros, use ELEM or MESH variants only (the ↵Campbell Barton
maceros had unused args in both cases).
2012-04-19style cleanup: BM_ITER / BM_ITER_INDEX / BMO_ITERCampbell Barton
2012-04-16Port multires_topology_changed to new bmesh apiSergey Sharybin
This call is still needed when loading editmesh because some operations are not creating CD layer for new loops (like crating new face) and to prevent loosing all sculpted data when running disps correct displacement maps should be allocated on loading edit mesh.
2012-04-12code cleanup: remove unused KeyBlock.adrcodeCampbell Barton
2012-04-12bmesh shape key conversion.Campbell Barton
- remove print for impossible error. - add NULL check incase bmesh and mesh get out of sync (would crash if Basis key-block couldn't be found).
2012-04-12bmesh exit editmode: when a mesh shape-key customdata layer exists but the ↵Campbell Barton
shape-key-block isnt found, creating a shape key was allocated and inline - it didnt set the name or uid, Now use add_keyblock() as every other function does.
2012-04-12doxygen docs explaining whats going on with shape-key conversion.Campbell Barton
2012-04-11fix [#30771] Shapekeys: Basis shapekey is not kept in sync with "RealMesh"Campbell Barton
behave the same as in 2.4x. - merge BMesh / Pre-BMesh code shape key conversion code, old code was called as a fallback but merge instead. - fix possible crash - new bmesh code was clamping the vertex index for the oldverts array by the new total number of verts.
2012-04-11bmesh shape key conversion on exiting editmode.Campbell Barton
there were 2 blocks of code (both calculating the offset array), now move the fallback method into the main key conversions block.
2012-04-11bmesh exit editmode shape key conversion - split out 'keyblock --> ↵Campbell Barton
customdata layer index' into its own function, makes code easier to follow.
2012-04-11bmesh shape key conversion when exiting editmode.Campbell Barton
- avoid running old conversion code if its not needed. - de-duplicate functionality which gets offsets from edits made in editmode.
2012-04-11code cleanup: mselect conversion when creating a bmesh from a bmesh was ↵Campbell Barton
overly verbose.
2012-04-05fix for memory leak when using the bmesh python api - would allocate ↵Campbell Barton
customdata layers and overwrite them when converting a mesh to a bmesh (without freeing).
2012-04-04Changed BM_mesh_bm_from_me to copy customdata layout for empty meshes.Joseph Eagar
2012-04-04fix [#30797] Shape keys on linked duplicate get corruptedCampbell Barton
2012-04-04fix for reconstructing shape keys (found when looking into bug [#30797], but ↵Campbell Barton
not a fix for this bug).
2012-04-01fix for [#30738] Shading smooth/flat instabilityAndrea Weikert
Committing patch from Francisco De La Cruz ([#30753] Shade smooth not preserved when toggling editmode) Thanks for researching this and providing fix.
2012-03-30minor speedup converting a BMesh to a Mesh - avoid loop over all faces to ↵Campbell Barton
count how many loops to use, since BMesh stores totloop. also use camel case for UndoMesh (convention)
2012-03-30fix [#30718] Selecting vertices, edges, faces and undoing - results in wrong ↵Campbell Barton
header status info converting mesh to bmesh resulted in incorrect stats.
2012-03-24code cleanup: move bmesh inline funcs to headers (avoids compiling the C files).Campbell Barton
2012-03-21style cleanup: bmeshCampbell Barton
2012-03-20rename define BM_INLINE -> BLI_INLINE to avoid confusion with bmesh defines.Campbell Barton
2012-03-18spelling cleanupCampbell 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-11bmesh py api - correct class references in docs and rename mesh conversion ↵Campbell Barton
funcs to ne less confusing.
2012-03-11bmesh:Campbell Barton
- moved mesh conversion functions into their own file. bmesh py api: - can now create a new empty bmesh without first creating mesh data. - added function to copy bmesh data back to a mesh. - bmesh.from_mesh() can now get a mesh which isnt in editmode.