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-07-07Cleanup: spellingCampbell Barton
2019-06-26Cleanup: un-wrap lines in headers, use doxy commentsCampbell Barton
2019-06-24Fix T66030: [CRASH] Modifying Normals with Skin Modifier.Bastien Montagne
clnor editing code was simply not checking at all whether it has something to work on... Guess nobody had idea to edit custom normals on a mesh that has no normals before! :P This should probably be handled in a poll function too, to completely disable those tools when there are no faces/loops, but let's keep it to minimal changes at that point.
2019-06-16Fix T65809: Blender crash while using the Normal's "merge" option in edit mode.Bastien Montagne
Merge code will generate temp normal editing data for affected loops, but since it will later (by setting some edges/faces to smooth) alter and extend affected clnor spaces, it will also need temp normal editing data for some other loops around those vertices... Using those clnor editing data in that code is a bit of an abuse, but on the other hand that struct stores exactly what we need. So simply added an option to generate that editing data for all clnors of affected vertices.
2019-06-15Cleanup: spellingCampbell Barton
2019-06-12Cleanup: spelling in commentsCampbell Barton
2019-05-31Cleanup: style, use braces in source/ (include disabled blocks)Campbell Barton
2019-05-31Fix bmesh_to_mesh freeing possibly referenced verticesSergey Sharybin
Fixes Godot exporter issue reported in T65285.
2019-05-31Cleanup: style, use braces in source/Campbell Barton
Automated using clang-tidy.
2019-05-28Cleanup: clang-formatCampbell Barton
2019-05-28Fix T65141 Bevel did not curve.Howard Trickey
The previous fix to the spike bug T64582 was not really right. This fixes that one properly and restores the desired curving profile in the bug's example.
2019-05-26Fix T64989 Bevel hangs with Mark Sharp sometimes.Howard Trickey
Code for extending sharp edges assumes ADJ pattern and this example uses TRI_FAN pattern. This change doesn't fix TRI_FAN mark sharp bug at least won't infinite loop any more.
2019-05-25Fix T64582: bevel spikes sometimesHoward Trickey
The code to move the profile plane needed to not do that in a few more cases.
2019-05-20Normal UI: Remove normals toolbar and add/muliply menu options.Howard Trickey
See T64324 for discussion re improving normal editing ui. As next step, remove the face_strength tool settings because menu operator now includes that. Move face_strenth enum to better place. Remove normals toolbar panel because only thing left (normal_vector) can stay hidden for copy/paste. Remove add vector and multiply vector menu entries as they are useless without ui method for specifying operand, and they are very low utility operations anyway.
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