Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-04-21 | style cleanup: correct typos | Campbell Barton | |
2012-04-21 | fix [#31049] New Faces (F) always solid shaded | Campbell Barton | |
2012-04-20 | fix for error using uninitialized variable with shape key conversion. | Campbell Barton | |
2012-04-20 | code 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-20 | knife 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-20 | add asserts for invalid iteratpr values so we can catch them in debug mode. | Campbell Barton | |
2012-04-20 | bmesh: improve rip tool | Campbell 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-20 | Fixed 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-19 | bmesh inset: add depth option (make use of relative and even offset options) | Campbell Barton | |
2012-04-19 | code cleanup: remove unused BMesh args. | Campbell Barton | |
2012-04-19 | remove BM_ITER, BM_ITER_INDEX macros, use ELEM or MESH variants only (the ↵ | Campbell Barton | |
maceros had unused args in both cases). | |||
2012-04-19 | code cleanup: first step to replace BM_ITER BM_ITER_INDEX macros. | Campbell Barton | |
2012-04-19 | BMESH_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-19 | style cleanup: BM_ITER / BM_ITER_INDEX / BMO_ITER | Campbell Barton | |
2012-04-19 | bmesh 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-18 | add missing NULL check for BM_vert_collapse_faces(), could crash in rare cases. | Campbell Barton | |
2012-04-18 | bmesh: 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-18 | more replacement for BM_edge_face_count() use. | Campbell Barton | |
2012-04-18 | code cleanup: replace use of BM_edge_face_count with BM_edge_is_manifold and ↵ | Campbell Barton | |
BM_edge_is_boundary | |||
2012-04-18 | fix error in last commit. Misunderstood BM_vert_is_manifold(), added some ↵ | Campbell Barton | |
comments. | |||
2012-04-18 | code cleanup: minor edits to bmesh_jfke(), move simple checks first. | Campbell Barton | |
2012-04-18 | bmesh api: minor simplify & cleanup | Campbell 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-17 | bmesh 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-16 | minor speedup for scanfill, dont calculate the normal if its already known - ↵ | Campbell Barton | |
use for editmode ngon filling. | |||
2012-04-16 | inline function for "Newell's Method" used for normal calc. | Campbell Barton | |
2012-04-16 | Port multires_topology_changed to new bmesh api | Sergey 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-15 | Fix [#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-15 | make ngon_perimeter into a public api function and expose to python. | Campbell Barton | |
2012-04-13 | fix [#30936] Face Inset gives bad UV's | Campbell Barton | |
2012-04-13 | bmesh 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-13 | fix for UV reveal (wasnt selecting all verts because check for unselected ↵ | Campbell Barton | |
vert was incorrect after selecting the first face). | |||
2012-04-12 | Minor code cleanup: Don't reference previous BMwEdgeringWalker after ↵ | Antony Riakiotakis | |
BMW_state_remove. Its memory is freed on that call. | |||
2012-04-12 | Fix: loopcut didn't stop on hidden faces | Antony Riakiotakis | |
2012-04-12 | code cleanup: remove unused KeyBlock.adrcode | Campbell Barton | |
2012-04-12 | bmesh 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-12 | bmesh 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-12 | fix [#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-12 | doxygen docs explaining whats going on with shape-key conversion. | Campbell Barton | |
2012-04-11 | fix [#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-11 | bmesh 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-11 | bmesh exit editmode shape key conversion - split out 'keyblock --> ↵ | Campbell Barton | |
customdata layer index' into its own function, makes code easier to follow. | |||
2012-04-11 | bmesh 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-11 | code cleanup: mselect conversion when creating a bmesh from a bmesh was ↵ | Campbell Barton | |
overly verbose. | |||
2012-04-11 | code cleanup: float formatting was confusing in some cases - eg: (0.,0.,0.) | Campbell Barton | |
2012-04-10 | Fix related to #30859: bmesh face splitting would set the first loop of the new | Joseph 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-09 | fix [#30852] Wrong Material ID applied for the new faces | Campbell Barton | |
2012-04-08 | style cleanup: pep8 some C/style | Campbell Barton | |
2012-04-08 | code 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-07 | code cleanup: no functional changes | Campbell 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-07 | Added 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" |