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-04-21style cleanup: correct typosCampbell Barton
2012-04-21fix [#31049] New Faces (F) always solid shadedCampbell Barton
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-20knife tool alpha values where being set to zero (intersection points weren't ↵Campbell Barton
visible), error made when converting to theme colors. also minor bmesh style cleanup.
2012-04-20add asserts for invalid iteratpr values so we can catch them in debug mode.Campbell Barton
2012-04-20bmesh: improve rip toolCampbell Barton
- When the rip extends into a fan, pick the opposite edge in the fan (rather then 2 along) - When stepping over the fan to find the rip edge, walk in the direction closest to the mouse (generally works nicer)
2012-04-20Fixed crash in iter api, triggered by calling index_update() on the loop py ↵Joseph Eagar
seq in the py api. Note, I didn't fix the underlying problem (bad iter type) so loops.index_update() still isn't working (it's just not crashing).
2012-04-19bmesh inset: add depth option (make use of relative and even offset options)Campbell Barton
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-19code cleanup: first step to replace BM_ITER BM_ITER_INDEX macros.Campbell Barton
2012-04-19BMESH_TODO: xsort of vertices working again.Bastien Montagne
This commits adds a new function which can remap vertices/edges/faces of a BMesh in a new given order: void BM_mesh_remap(BMesh *bm, int *vert_idx, int *edge_idx, int *face_idx)
2012-04-19style cleanup: BM_ITER / BM_ITER_INDEX / BMO_ITERCampbell Barton
2012-04-19bmesh api function: BM_edge_face_tangent()Campbell Barton
was used by inset but make into an api function since scripts can use this too.
2012-04-18add missing NULL check for BM_vert_collapse_faces(), could crash in rare cases.Campbell Barton
2012-04-18bmesh: fix own bug in BM_vert_collapse_faces() with option ↵Campbell Barton
'kill_degenerate_faces', was removing data as it iterated, would crash in some cases.
2012-04-18more replacement for BM_edge_face_count() use.Campbell Barton
2012-04-18code cleanup: replace use of BM_edge_face_count with BM_edge_is_manifold and ↵Campbell Barton
BM_edge_is_boundary
2012-04-18fix error in last commit. Misunderstood BM_vert_is_manifold(), added some ↵Campbell Barton
comments.
2012-04-18code cleanup: minor edits to bmesh_jfke(), move simple checks first.Campbell Barton
2012-04-18bmesh api: minor simplify & cleanupCampbell Barton
- add BM_face_edge_share_loop(f, e) -- edge version of existing BM_face_vert_share_loop(f, v) - simplify BM_edge_ordered_verts_ex(), check could be reduced. - use BM_ELEM_INTERNAL_TAG for bmesh_jfke(), not BM_ELEM_TAG to avoid clobbering tagged data tools might use.
2012-04-17bmesh api: adjust bmesh_vert_separate() not to set the loops index values ↵Campbell Barton
(need them to be left untouched for other tools).
2012-04-16minor speedup for scanfill, dont calculate the normal if its already known - ↵Campbell Barton
use for editmode ngon filling.
2012-04-16inline function for "Newell's Method" used for normal calc.Campbell 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-15Fix [#30943] Crash when edge mode enabled and use the bmesh vertex ↵Francisco De La Cruz
slide(shift-V) Also fixed snapping sensitivity. Gave BMOp a more consistent name "vertex_slide".
2012-04-15make ngon_perimeter into a public api function and expose to python.Campbell Barton
2012-04-13fix [#30936] Face Inset gives bad UV'sCampbell Barton
2012-04-13bmesh api changes:Campbell Barton
- remove recently added BM_mesh_select_flush_strip(), functions purpose wasn't clear. - add BM_mesh_elem_hflag_disable_test(), BM_mesh_elem_hflag_enable_test() to match existing BM_mesh_elem_hflag_enable/disable_all(), these take a hflag to test before editing each element. This replaces the need for BM_mesh_select_flush_strip().
2012-04-13fix for UV reveal (wasnt selecting all verts because check for unselected ↵Campbell Barton
vert was incorrect after selecting the first face).
2012-04-12Minor code cleanup: Don't reference previous BMwEdgeringWalker after ↵Antony Riakiotakis
BMW_state_remove. Its memory is freed on that call.
2012-04-12Fix: loopcut didn't stop on hidden facesAntony Riakiotakis
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-12fix [#30907] Inset tool with Select Outer disabled does not allow ↵Campbell Barton
translation of new faces inset with select-inner faces gave invalid selection. also correct spelling in some comments.
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-11code cleanup: float formatting was confusing in some cases - eg: (0.,0.,0.)Campbell Barton
2012-04-10Fix related to #30859: bmesh face splitting would set the first loop of the newJoseph Eagar
faces to a loop quite different than the original first loop. This makes e.g. duplifaces give rotated results after subdivide or loopcut. Now it tries to find a first loop that is similar to the old one, to try to keep the rotations the same.
2012-04-09fix [#30852] Wrong Material ID applied for the new facesCampbell Barton
2012-04-08style cleanup: pep8 some C/styleCampbell Barton
2012-04-08code cleanup:Campbell Barton
- remove unused vars - no need to hard code version number for collada. - cleanup some typos in comments. - movieclip_calc_length was passing arg which should be unsigned to BLI_stringdec()
2012-04-07code cleanup: no functional changesCampbell Barton
- memset(..., -1) is used incorrectly even though it worked: MOD_solidify.c - thanks Halley from IRC for noticing this. use fill_vn_i() instead. - quiet warnings in editmesh_slide.c - cleanup comments in bmesh and some other minor comment additions.
2012-04-07Added Vertex Slide: Slides a vertex along a selected and connected edge ↵Francisco De La Cruz
(Shift+Ctrl+V) - BMop: "vertslide vert=%e edge=%hfev distance_t=%f"