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
2022-02-11File headers: SPDX License migrationCampbell Barton
Use a shorter/simpler license convention, stops the header taking so much space. Follow the SPDX license specification: https://spdx.org/licenses - C/C++/objc/objc++ - Python - Shell Scripts - CMake, GNUmakefile While most of the source tree has been included - `./extern/` was left out. - `./intern/cycles` & `./intern/atomic` are also excluded because they use different header conventions. doc/license/SPDX-license-identifiers.txt has been added to list SPDX all used identifiers. See P2788 for the script that automated these edits. Reviewed By: brecht, mont29, sergey Ref D14069
2022-02-08Mesh: add option to select vertices by similar vertex creaseKévin Dietrich
This adds an option to the "Select Similar" operator in edit mode to select vertices based on vertex crease similarity. The implementation follows that of the edge crease, with a 1-dimensional KD-tree used to store and retrieve vertex indices base on crease values. To maintain compatibility with old files (scripts), the `SIMEDGE_CREASE` enumeration identifier remains `CREASE`, while the one for the new `SIMVERT_CREASE` is `VCREASE` to follow the naming convention of other enum values. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D14037
2022-01-07Cleanup: remove redundant const qualifiers for POD typesCampbell Barton
MSVC used to warn about const mismatch for arguments passed by value. Remove these as newer versions of MSVC no longer show this warning.
2021-12-03Cleanup: move public doc-strings into headers for 'bmesh'Campbell Barton
Some minor improvements to doc-strings too. Ref T92709
2021-06-26Cleanup: full sentences in comments, improve comment formattingCampbell Barton
2021-02-05Cleanup: correct spelling in commentsCampbell Barton
2020-08-07Code Style: use "#pragma once" in source directoryJacques Lucke
This replaces header include guards with `#pragma once`. A couple of include guards are not removed yet (e.g. `__RNA_TYPES_H__`), because they are used in other places. This patch has been generated by P1561 followed by `make format`. Differential Revision: https://developer.blender.org/D8466
2020-07-21Bevel: Refactor "Vertex Only" to an enumHans Goudey
This matches the change that was done to the bevel modifier so that the interface for the modifier, the active tool, and the operator are consistent. This commit extends the refactor to the bmesh implementation too, so that the parameters in the implementation don't stray too far from what is exposed. Tests are adjusted and still pass.
2020-06-25Cleanup: spellingCampbell Barton
2020-06-23Bevel: Refactor profile type input to use an enumHans Goudey
This will allow the easier addition of a constant radius mode in the future and some changes in the UI to mirror the recent similar change from "Only Vertices" to the "Affect" enum.
2020-06-20Bevel: add new 'Absolute' mode for interpreting 'amount' value.Howard Trickey
This mode is like Percent, but measures absolute distance along adjacent edges instead of a percentage. So, for example, if you use this mode with 2 segments and profile=1, you will see the length that the bevel moves along unbeveled edges between beveled ones will match the value specified. Many users seem to expect this behavior, even though it means the bevel width is uneven, so this option is for them.
2019-11-21Bevel: Custom Profile and CurveProfile WidgetHans Goudey
Custom profiles in bevel allows the profile curve to be controlled by manually placed control points. Orientation is regularized along groups of edges, and the 'pipe case' is updated. This commit includes many updates to comments and changed variable names as well. A 'cutoff' vertex mesh method is added to bevel in addition to the existing grid fill option for replacing vertices. The UI of the bevel modifier and tool are updated and unified. Also, a 'CurveProfile' widget is added to BKE for defining the profile in the interface, which may be useful in other situations. Many thanks to Howard, my mentor for this GSoC project. Reviewers: howardt, campbellbarton Differential Revision: https://developer.blender.org/D5516
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-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-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-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-03Cleanup: trailing commasCampbell Barton
Needed for clan-format not to wrap onto one line.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-01-18Add miter pattern options.Howard Trickey
Will document the new options in release notes, then in manual. Still a bit of work to do on the bulging shape that appears on cube corners if using arc inner miters, but will do that later. Also need to do something smarter in clamp overlap.
2019-01-03Fix T58113 Multiple problems with bevel harden normals.Howard Trickey
Move the bevel hardening code all into bmesh_bevel.c. Based on user feedback, rewrote the bevel hardening algorithm to be more what users want. Based on user feedback, changed the UI, removing some not-useful options. Now hardening normals while beveling is enabled by a simple checkbox. Now setting face strength gives options for which faces get their face strength set.
2018-12-14Merge branch 'master' into blender2.8Campbell Barton
2018-12-14Missed last commitCampbell Barton
2018-09-28Cleanup: Remove bmo_similar.c and small renamingDalai Felinto
2018-09-21Select Similar: Cleanup - WITH_FREESYTLEDalai Felinto
2018-08-04Added comments on hn_mode, BMOps on bevelRohan Rathi
2018-06-27Patch to fix shading continuity.Rohan Rathi
Added it as extension to harden. Tried out different methods to fix normals, Though as with width and segments changes shape, orientation of new polys a non-smooth method of fix was not possible. Current method aggregates vertex normals into a smooth fan without affecting edge shading. Still need to fix the crease at new vertex edges
2018-06-22Added UI for harden normals and normal control in bevel modifierRohan Rathi
2018-06-11Added ability to harden normals.Rohan Rathi
Uses 2 different params: mode and strength. There are still some hiccups with how 2.8 interacts with normals. Will resolve as support gets better
2017-06-01Add Face-Map to select similarCampbell Barton
Handy for setting up face-maps, also allows selecting all faces with no assigned map.
2017-05-24Remove TexFace, per-face imagesCampbell Barton
TexFace complicates the now more popular shading pipeline by having per-face images, see: T51382 for details. To keep the ability to select a per-material edit-image (used with UV-mapping workflow), the material now stores an image which will be set when changing images in edit-mode. This is used as a bake-target when not using Cycles too.
2017-05-15Fix T51180: BMesh crash using calc_uvs=TrueCampbell Barton
Don't assume UV layer exist.
2017-05-06bmesh: use 'uint' instead of 'unsigned int'Campbell Barton
no functional changes.
2015-12-05Fix T37879: Default UV generation for mesh primitives.Bastien Montagne
Adds default-generated UVs to mesh primitives (cone, cylinder, icosphere, uvsphere, cube, circle, grid) when they are added to the scene, since some of them can be pretty awkward to unwrap manually. Original patch: Liam Mitchell (CommanderCorianderSalamander). Main review work: Campbell Barton (campbellbarton). Finalization, fixes and cleanup: Bastien Montagne (mont29). Reviewers: mont29, #mesh_modeling, campbellbarton Reviewed By: mont29, campbellbarton Subscribers: lkruel, campbellbarton, michaelknubben, kevindietrich Maniphest Tasks: T37879 Differential Revision: https://developer.blender.org/D481
2015-04-26Add inverse-square falloff to bmesh, mask & compo.Campbell Barton
2015-04-25Cleanup: use 8 space indent for multi-line argsCampbell Barton
2014-12-28Fix T40930: Add a new option to select faces by smooth/flat shading.Bastien Montagne
Org code by robschia (Roberto Schiavone), first review by campbellbarton (Campbell Barton), final review and minor changes by mont29 (Bastien Montagne). Reviewers: cambellbarton, mont29 Subscribers: mont29, campbellbarton Maniphest Tasks: T40930 Differential Revision: https://developer.blender.org/D638
2014-11-16Cleanup: use SUBD_CORNER_* prefix for Subdiv flagsCampbell Barton
2013-11-10Added options for how bevel amount is measured.Howard Trickey
Now there is an 'Offset Type' dropdown on tool shelf with types: Offset - current method, offset of new edge from old along sliding face Width - width of new bevel face (if segments=1) Depth - amount a chamfering plane moves down from original edge Percent - percent of way sliding edges move along their adjacent edges The different options mainly are useful when beveling more than one edge at once. Leaving as a TODO to put these in the modifier, as doing that has more permanent effects so want to let users shake out problems with this first.
2013-07-24internal bmesh api change: BM_elem_attrs_copy() no longer copies the ↵Campbell Barton
selection flag. this was slowing down modifiers since the selection flags would be copied and flushed to connected geometry.
2013-06-10fix [#35648] Loop cut, smoothness showing wrong symmetricalCampbell Barton
this is more of a feature request then a bug, but nicer to use even smoothing offset for loopcut smoothing.
2013-06-04edit-mesh improvements to select shortest pathCampbell Barton
- Ctrl+RMB only worked for edges & faces - Menu item 'Select Shortest Path' only worked for vertices. Now Ctrl+RMB works for vertices and the menu item works for verts/edges/faces (depending on the current selection).
2013-05-23Support for bridge tool subdivisions, smoothing and shape along the profile.Campbell Barton
also added the underlying subdivision as a standalone operator in the edge menu, named: subdivide edge-ring. http://www.graphicall.org/ftp/ideasman42/bridge_subd.png
2013-05-08smooth falloff options for loopcut.Campbell Barton
2013-04-06svn merge ^/trunk/blender -r55815:55840Sergey Sharybin
2013-04-06patch [#34890] BMesh Poke Face.Campbell Barton
by Francisco De La Cruz (xercesblue), with some of my own changes/improvements. Converts faces to triangle-fans (useful to run on ngons). To access select a group of faces and press "Alt+P" or alternatively select the operator from the Faces menu (Ctrl+F)
2012-12-20Another big patch set by Bastien Montagne, thanks a lot!Tamito Kajiyama
* Made Freestyle optional (turned on by default). * Fix for missing bpath.c updates in the previous merge of trunk changes.
2012-12-01Merged changes in the trunk up to revision 52690.Tamito Kajiyama
Conflicts resolved: release/datafiles/startup.blend source/blender/blenlib/intern/bpath.c
2012-11-28bmesh operator naming - use clearer names for args eg: (mat -> matrix, ↵Campbell Barton
use_singleedge -> use_single_edge) also remove duplicate docs for operator arg formatting.
2012-11-26Fix #33285: loop cut is not supposed to cut through triangles/ngons, but itBrecht Van Lommel
still happened when the loop would go all the way around the mesh with just one triangle/ngon inbetween to close the loop.
2012-11-26Merged changes in the trunk up to revision 52546.Tamito Kajiyama
Conflicts resolved: release/datafiles/startup.blend release/scripts/startup/bl_ui/space_view3d.py source/blender/blenkernel/intern/idcode.c