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
2013-02-21Enable new bevel tool code in bevel modifier.Howard Trickey
Now modifier takes a segments parameter. Bevel edge weights will multiply the overall amount. For vertex-only, you can give a vertex group name, and the weights in that will multiply the overall amount.
2013-02-11style cleanup: also some typosCampbell Barton
2013-02-05own recent change to triangulate bmesh operator stopped filling in mapping ↵Campbell Barton
slot 'face_map.out', not used by blender its self but useful for scripts, enable this again.
2013-02-04code cleanup: warningsCampbell Barton
2013-02-02style cleanupCampbell Barton
2013-01-31Fix bevel bug #33906, unwanted distortion with skewed meshes.Howard Trickey
The code for making a rounded profile edge at a vertex needed a special case for when that profile is on the third face (the one not touched by the beveled edge) when only one edge is beveled and the three faces are not orthogonal.
2013-01-31style cleanupCampbell Barton
2013-01-30correction to r54188, also don't attempt to triangulate triangles.Campbell Barton
2013-01-29skip calculating the normal for each face when triangulating, all callers ↵Campbell Barton
make sure its valid. also remove some commented code (more then one generation of bmesh old).
2013-01-29Triangulate modifier no longer uses bmesh operator api call, instead add a ↵Campbell Barton
BM_mesh_triangulate() function. Gives ~2x speedup in my tests on an optimized build.
2013-01-21Vertex bevel: adjust vertex positions to make a more rounded pattern.Howard Trickey
Also fixed debug quad drawing code to not join successive quads.
2013-01-21Bevel vertex: fix rebuild of faces so they are connected when seg > 1.Howard Trickey
2013-01-21code cleanup: style & warnings.Campbell Barton
2013-01-21Bevel vertex only (shortcut: control-shift-B) initial commit.Howard Trickey
2013-01-20code cleanup: remove some paranoid checks which would have crashed anyway ↵Campbell Barton
earlier on. Also some minor formatting.
2013-01-14use booleans for bmesh api.Campbell Barton
2013-01-08fix [#33797] decimate modifier bug on uv-coordinates when mesh uses vertex colorCampbell Barton
if vertex colors had no seams - it would interpolate the UV's too, now interpolate per-layer.
2013-01-08Fix bevel crash #33801, when first edge of a vertex is wire.Howard Trickey
2013-01-07style cleanupCampbell Barton
2013-01-03Fix bevel crash bug #33714. Had to disable elem tag on new vertices.Howard Trickey
2012-12-28Add 'vertex_only' option to bevel tool.Howard Trickey
Right now, changing segments to > 1 doesn't do anything, but intend to work on making that cause rounded corners.
2012-12-23code cleanupCampbell Barton
2012-12-19use BM_face_create() over BM_face_create_ngon() in bevel and extrude ↵Campbell Barton
individual faces to get some speedup.
2012-12-16fix own error [#33529] Bevel on a certain edgeloop results in segmentation faultCampbell Barton
relied on edges having a loop, now use overlap apiflag instead.
2012-12-12move edge split into its own function which can be called by the modifier ↵Campbell Barton
without having to call a bmesh operator (gives some speedup).
2012-12-12replace BLI_array_declare with BLI_array_staticdeclare() and ↵Campbell Barton
BLI_array_alloca() for smaller arrays.
2012-12-11replace BLI_array_fixedstack_declare with() new macro BLI_array_alloca() ↵Campbell Barton
which uses stack memory always and doesn't need to be freed explicitly.
2012-12-11own cleanup commit in bmesh branch - removed last letters from ends of some ↵Campbell Barton
comments.
2012-12-08fix [#33438] Bevel modifier "angle" mode is brokenCampbell Barton
bevel modifier was making zero area faces & edges that made scanfill fail (since it no longer removes doubles when filling ngons)
2012-12-07Bevel: fix 'causing artifacts' bug 33245.Howard Trickey
Really was caused by a previous bevel making a two-edged face, which caused other faces to be dropped when copying a bmesh. The quadstrip code needed to be more careful to avoid creating two-edge faces.
2012-12-04bevel - use tri-fan filling in the special case when a bevel edge meets a ↵Campbell Barton
non bevel edge at a valence 2 vert. this is the topology tri-fan was intended to be used.
2012-12-04bevel: re-order checks so angle checks are done after quick sanity checks.Campbell Barton
2012-12-03revert part of r52720, Id rather leave these as-is, even if they give ↵Campbell Barton
warnings under some configurations.
2012-12-03Bevel: fix for bulging part of bug 33280.Howard Trickey
Bulging still happens, but fixed the cases where it was obvious because it destroys an otherwise straight 'pipe' by snapping the vertex mesh points to that pipe.
2012-12-02Silent a bunch of gcc warnings (usually dummy, but noisy!).Bastien Montagne
2012-12-01Bevel: fix crash bug 33362, when beveling one edge at valence 2 vertex.Howard Trickey
That special case should have been tested before - the code was wrong in about three different ways.
2012-12-01Bevel: fix spike in suzanne, bug 33354.Howard Trickey
Non-planar faces made some of the meet point code not work well, so now calculate local face norms.
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-11-29Bevel: partial fix for distortion (bug 33280).Howard Trickey
Sometimes it is impossible to have same offset from both edges that are on angled faces. The fix here at least doesn't distort the non-beveled part of the model, and looks much better than before on bug example, but is still not perfect.
2012-11-28typo's and some style cleanup, also added asserts into BLI_vsnprintf and ↵Campbell Barton
BLI_sprintfN when invalid args are given.
2012-11-28fix [#33320] Decimate modifer in collapse is inconsistent when limiting to a ↵Campbell Barton
vertex group
2012-11-27fix for asserts added in own recent commit with more strict type-checkingCampbell Barton
- BMO_slot_copy now only copies compatible elements. other minor changes - don't use text.format(...), convention for UI scripts is C style string formatting. - rename bmo_edgenet_prepare --> bmo_edgenet_prepare_exec - float/double warning in bevel.
2012-11-27Bevel: better round profile code.Howard Trickey
Easier to understand, no touchy intersect code, and works even when arms aren't equal length. Old code ifdef'd for now, will remove soon.
2012-11-26use slightly more efficient BLI_array_fixedstack_declare() instead of ↵Campbell Barton
BLI_array_staticdeclare() for bevel code since the array size is known.
2012-11-26code cleanup: doxy comment corrections and correct own typo animation player ↵Campbell Barton
docs.
2012-11-25More fixes to parallel tests to make them less sensitive, prevents assert ↵Howard Trickey
failures. Also made bl_debug_draw_edge_add better (don't draw edges in one continuous line).
2012-11-23skip some redundant looping in bevel code.Campbell Barton
2012-11-22minor speedup for bevel, avoid calling find_bevvert() when we know the edge ↵Campbell Barton
isn't beveled.
2012-11-21bevel: fix bug where constructed where parallel testHoward Trickey
didn't work (angle check too sensitive). Caused some (nan,nan,nan) results from offset_in_two_planes.
2012-11-19improvements to bevelCampbell Barton
- the resulting selection is now correct internal details - bev_rebuild_polygon() now only rebuilds polygons that are attached to a bevel vertex (was rebuilding ALL). ... need to take care we don't leave faces pointing to removed geometry, so far this works fine. - bev_rebuild_polygon() uses stack memory for <32 size ngons to reduce allocs. - skip hash lookup when removing bevel verts (use tag instead).