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
2019-05-08Normals Menu: fix Average to be able to specify type.Howard Trickey
Also removed some rogue debugging printfs from normal selection code.
2019-05-07Fix Bevel T64107 - width/depth value wrong for vertex only.Howard Trickey
Code fix from George Vogiatzis (Gvgeo), via D4811. Needed to initalize vert_axis.
2019-05-01ClangFormat: run with ReflowComments on source/Campbell Barton
Prepare for enabling ReflowComments.
2019-04-30Fix T63759 Vertex Bevel works for width and depth offset types.Howard Trickey
From D4719 by George Vogiatzis (Gvgeo).
2019-04-29Cleanup: comments (long lines) in bmeshCampbell Barton
2019-04-24Cleanup: sort CMake include pathsCampbell Barton
2019-04-22Cleanup: style, use bracesCampbell Barton
Add braces for modules already using braces almost everywhere.
2019-04-20Cleanup: add missing macros to clang-formatCampbell Barton
2019-04-18Cleanup: add trailing commas to avoid right shiftCampbell Barton
2019-04-18Cleanup: comment blocksCampbell Barton
2019-04-17Fix T63247: edbm_rip_invoke__edge rips unselected verts on mesh bordersSebastian Parborg
Ripping edges would in some cases rip verts on unselected edges. This is now fixed so that we only rip verts from the actually selected edges. Reviewed By: Brecht Differential Revision: http://developer.blender.org/D4646
2019-04-17ClangFormat: remove '#if 0' to fix bmo_inset.c indentCampbell Barton
2019-04-17ClangFormat: format '#if 0' codeCampbell Barton
Previous cleanups didn't account for space after '#'.
2019-04-17ClangFormat: format '#if 0' code in source/Campbell Barton
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-04-16Cleanup: avoid adjacent C-style commentsCampbell Barton
Causes clang-format to give different results on a second run.
2019-04-16ClangFormat: add comments to ignore formattingCampbell Barton
2019-04-16Cleanup: trailing commasCampbell Barton
2019-04-16CMake: add libs needed for gtestsCampbell Barton
2019-04-16CMake: add library deps to CMakeLists.txtCampbell Barton
Tested to work on Linux and macOS. This will be enabled once all platforms are verified. See D4684
2019-04-16CMake: cleanup, arg rename, add definitions lastCampbell Barton
2019-04-14CMake: prepare for BLENDER_SORTED_LIBS removalCampbell Barton
No functional change, this adds LIB definition and args to cmake files. Without this it's difficult to migrate away from 'BLENDER_SORTED_LIBS' since there are many platforms/configurations that could break when changing linking order. Manually add and enable WITHOUT_SORTED_LIBS to try building without sorted libs (currently fails since all variables are empty). This check will eventually be removed. See T46725.
2019-04-01Fix T63071: Bevel inconsistent results toggling harden_normals.Howard Trickey
Some iterations in bevel were over a hash table, which leads to possibly different results run-to-run, especially when loop_slide is enabled. Changed those iters to go over all verts of BMesh, which leads to consistent order run-to-run.
2019-03-27Cleanup: style, use braces for bmeshCampbell Barton
2019-03-23Cleanup: style, use const args where possibleCampbell Barton
2019-03-22Modifiers: add minimum number of vertices to triangulate modifier.Ish Bosamiya
This lets you only triangulate n-gons when setting the number to 5 or more. Differential Revision: https://developer.blender.org/D4367
2019-03-19Cleanup: use BLI_kdtree_3d prefixCampbell Barton
Use prefix now there isn't only the 3d version.
2019-03-19Fix T62713: Paste Normal Vectors - needed better selection handling.Bastien Montagne
Existing code was not really handling well cases were only edges or faces were selected (with match select modes). In those cases, we can assume user want to only affect loop normals of selected faces/edges, not all lnors of all (indirectly) selected verts. Also refactored the code a bit to move whole 'loop to edit' selection process into its own single function.
2019-03-19Cleanup: comment blocksCampbell Barton
2019-03-15Cleanup: indentation, wrappingCampbell Barton
Mostly functions wrapping args, not confirming to our style guide.
2019-03-13BMesh: make edge winding from face optionalCampbell Barton
Broke uv-sphere creation, further it might be a problem for script authors expecting matching edge order for duplicated content. Now only apply this when duplicating via the operator.
2019-03-13Fix T62487: Flipped normals extruding edge loopCampbell Barton
2019-03-13BMesh: utility function to swap edge vertsCampbell Barton
Needed so we can control the winding of extruded faces.
2019-03-08Fix T59304: boolean modifier does not preserve UV textures.Brecht Van Lommel
In the old derivedmesh function it was merging customdata layers, added that back for mesh conversion too.
2019-03-08Cleanup: use plural names for Main listsCampbell Barton
Convention was not to but after discussion on 918941483f7e we agree its best to change the convention. Names now mostly follow RNA. Some exceptions: - Use 'nodetrees' instead of 'nodegroups' since the struct is called NodeTree. - Use 'gpencils' instead of 'grease_pencil' since 'gpencil' is a common abbreviation in the C code. Other exceptions: - Leave 'wm' as it's a list of one. - Leave 'ipo' as is for versioning.
2019-03-07Refactor CDData masks, to have one mask per mesh elem type.Bastien Montagne
We already have different storages for cddata of verts, edges etc., 'simply' do the same for the mask flags we use all around Blender code to request some data, or limit some operation to some layers, etc. Reason we need this is that some cddata types (like Normals) are actually shared between verts/polys/loops, and we don’t want to generate clnors everytime we request vnors! As a side note, this also does final fix to T59338, which was the trigger for this patch (need to request computed loop normals for another mesh than evaluated one). Reviewers: brecht, campbellbarton, sergey Differential Revision: https://developer.blender.org/D4407
2019-03-06Cleanup: remove redundant file argumentCampbell Barton
2019-02-27Fix T61988, Bevel miter on small scale.Howard Trickey
Take two at fix, hopefully without unintended commits to submodules this time.
2019-02-27Revert "Fix T61988: Bevel mitering on small objects."Howard Trickey
This reverts commit 048088e1d2435d249f36feb4774d14aeaf1293e9. Accidentally changed submodules. Will resubmit with only intended changes later.
2019-02-27Fix T61988: Bevel mitering on small objects.Howard Trickey
When edges had small length (less than about .005) the angle classification didn't work. Needed some normalization of vectors.
2019-02-26BMesh: utility functions for visible element accessCampbell Barton
Needed for drawing code which skips hidden elements.
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-18Cleanup: conform headers to have license firstCampbell Barton
Also remove doxy comments for licenses and add missing GPL header.
2019-02-15Bevel: fix twist on bevel of cylinder with >= 200 sides.Howard Trickey
This triggered an "almost parallel" case in setting the offset meet points, which is OK but code needed improvement put the meet point in a more accurate place. This ia fix for part of the report T61214.
2019-02-15Fix T61427: Bevel crash with patch miter.Howard Trickey
The adjustment phase had broken assumptions after adding miters, and sent a null problem to eigen. Fixed code to check assumptions.
2019-02-11Cleanup: commentsCampbell Barton
2019-02-11Cleanup: comment indentation & spellingCampbell Barton
2019-02-08Bevel, fix crash when adjust offsets with inner arc miter.Howard Trickey
Previous assumptions about boundary verts always being attached to edges are now false.
2019-02-08Bevel: fix regression re even adjustment of offsets.Howard Trickey
Mistakenly had left a debugging assignment that disabled the offset pass. This commit re-enables it.
2019-02-07Bevel: better attachment points for unbeveled edges, arc miter.Howard Trickey