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-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.
2022-01-06Cleanup: spelling in commentsCampbell Barton
2021-12-10Cleanup: spelling in commentsCampbell Barton
2021-12-03Cleanup: move public doc-strings into headers for 'bmesh'Campbell Barton
Some minor improvements to doc-strings too. Ref T92709
2021-07-06Cleanup: rename 'count' to 'len'Campbell Barton
Reserve the term count for values that require calculation (typically linked lists).
2021-07-03Cleanup: consistent use of tags: NOTE/TODO/FIXME/XXXCampbell Barton
Also use doxy style function reference `#` prefix chars when referencing identifiers.
2021-06-26Cleanup: full sentences in comments, improve comment formattingCampbell Barton
2020-09-04Cleanup: Clang-Tidy readability-inconsistent-declaration-parameter-name fixSebastian Parborg
No functional changes
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-05-08Cleanup: take includes out of 'extern "C"' blocksJacques Lucke
Surrounding includes with an 'extern "C"' block is not necessary anymore. Also that made it harder to add any C++ code to some headers, or include headers that have "optional" C++ code like `MEM_guardedalloc.h`. I tested compilation on linux and windows (and got help from @LazyDodo). If this still breaks compilation due to some linker error, the header containing the symbol in question is probably missing an 'extern "C"' block. Differential Revision: https://developer.blender.org/D7653
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-08-01Cleanup: misc spelling fixesCampbell Barton
T68035 by @luzpaz
2019-07-31Spelling fixes in comments and descriptions, patch by luzpazBrecht Van Lommel
Differential Revision: https://developer.blender.org/D3744
2019-06-26Cleanup: un-wrap lines in headers, use doxy commentsCampbell Barton
2019-05-01ClangFormat: run with ReflowComments on source/Campbell Barton
Prepare for enabling ReflowComments.
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-11Cleanup: commentsCampbell Barton
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-22Fix T60643: BMesh operator enum args fail when unset from PythonCampbell Barton
Error introduced with bmesh operator enum support: 1e6a5eb087911
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.
2018-08-27Implement BMesh Operator string enumerators and docs generation.Andrew Hale
Partial implementation of T56496 for review. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D3635
2018-05-25Applied soc-2017-normal-toolsRohan Rathi
2016-07-01BMesh: make toolflags optionalCampbell Barton
Saves 8 bytes per vert/edge/face. Gives overall ~20-25% memory saving for dyntopo sculpting and modifiers that use BMesh.
2016-05-09Fix error introduced by removing faces before executing bridgeCampbell Barton
Commit 86abddc9, caused an error when the face-region included boundary edges. Since removing the faces first, caused the edges along the boundaries to be removed. Add support for deleting faces and internal edges, that keeps boundaries.
2015-06-11BMesh: add BMO_ITER_INDEX macroCampbell Barton
2015-05-16BMesh: add UV delimit for select-linked, dissolveCampbell Barton
2015-05-16BMesh: add sharp edge delimiterCampbell Barton
2015-04-25Cleanup: use 8 space indent for multi-line argsCampbell Barton
2015-04-15Cleanup: warnings, wsCampbell Barton
2014-12-08BMesh: ensure iterator macros assign to valid typesCampbell Barton
note, this is for C++ code which expects a cast, (will be added later) also add a macro for nop-expressions (EXPR_NOP), when we never want an expression to be evaluated, but it should still be valid.
2014-11-02Fix connect-vertices failing for concave ngonsCampbell Barton
Also add: - generic callback for bmesh elements. - ability to pass an existing array to a bmesh operator.
2014-08-25Fix T40993: Store selection history for extrudeCampbell Barton
2014-08-25BMesh: New operator flag not to clear historyCampbell Barton
2014-01-17BMesh: minor speedup for deleting faces. also remove unused delete-allCampbell Barton
2013-09-02fix [#36412] Pivot of active element switches to last selected face after ↵Campbell Barton
duplicating vertices.
2013-09-02bmesh: internal api change, remove BMOElemMapping, its not needed since the ↵Campbell Barton
values can be stored in the ghash directly. saves 24 bytes per element (per vertex/edge/face on a 64bit system), for bmesh operators.
2013-06-03fix [#35311] Planar Decimate / Limited Dissolve fails to merge some adjacent ↵Campbell Barton
faces optionally limit by face flipping, also added support to delimit by material and edge crease.
2013-04-14bmesh operators: use operator type-flag to specify which operations require ↵Campbell Barton
normal-calculations and which operations require selection flushing. eg, no need to flush selection after 'Smooth' tool, no need to recalculate normals after 'Select Similar'.
2013-04-05fix [#34870] bmesh.ops.* parameter lists and descriptions don't show in ↵Campbell Barton
PyConsole on auto-complete more a feature request then a bug but nice to have __doc__ on bmesh operators.
2013-03-27api cleanup: replace BMO_vert_edge_flags_count() with more reusable function ↵Campbell Barton
- BMO_iter_elem_count_flag(). closely matching existing BM_iter_elem_count_flag() function but checks tool-flags instead.
2013-03-09bmesh: face creation from a single selected vertex/edge, now extends the ↵Campbell Barton
selection along wire/boundary edges and makes a face. Selection is specifically so you can continuously fill in holes by tapping the Fkey. Similar functionality to the F2 addon, however the mouse location isn't used.
2013-01-14use booleans for bmesh api.Campbell Barton
2012-12-28style cleanupCampbell Barton
2012-11-28use radians for 'spin' bmesh operator (since the rest of the py api uses ↵Campbell Barton
radians). also rename BMO_OP_SLOT_SUBTYPE_MAP_FLOAT -> BMO_OP_SLOT_SUBTYPE_MAP_FLT for consistency.
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-27py/bmesh api - add support for single item buffers (odd feature but used ↵Campbell Barton
quite a bit with bmesh operators). also add utility functions BMO_slot_buffer_from_single(), BMO_slot_buffer_get_single()