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-04-07Cleanup: clang-formatCampbell Barton
2022-04-05Refactor: Unify vertex and sculpt colors into newJoseph Eagar
color attribute system. This commit removes sculpt colors from experimental status and unifies it with vertex colors. It introduces the concept of "color attributes", which are any attributes that represents colors. Color attributes can be represented with byte or floating-point numbers and can be stored in either vertices or face corners. Color attributes share a common namespace (so you can no longer have a floating-point sculpt color attribute and a byte vertex color attribute with the same name). Note: this commit does not include vertex paint mode, which is a separate patch, see: https://developer.blender.org/D14179 Differential Revision: https://developer.blender.org/D12587 Ref D12587
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
2021-07-06Cleanup: rename 'count' to 'len'Campbell Barton
Reserve the term count for values that require calculation (typically linked lists).
2021-01-05BMesh: add use_shapekey to BMesh transform operatorsCampbell Barton
Currently unused, needed for symmetrize to support shape keys.
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2019-04-20Cleanup: add missing macros to clang-formatCampbell 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-03-27Cleanup: style, use braces for bmeshCampbell Barton
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-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.
2017-11-26Cleanup: move edge-rotate into own fileCampbell Barton
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-03-14Fix T47788: Symmetrize flips multi-res dataCampbell Barton
Symmetrize was unusable with multi-res data, add an option for the bmesh operator not to flip the multi-res depth.
2015-09-04Partial revert of warning cleanupCampbell Barton
These warnings are false-positives
2015-09-04Quiet warningsJulian Eisel
We had too many warnings lately... was awaiting that someone would kill them - didn't happen -> goes to my commit ratio! :P
2015-04-29Fix T44542: 'extend selection' editmode tool would select hidden elements.Bastien Montagne
2015-01-12BMesh: Tweak behavior for select more/lessCampbell Barton
Stepping over faces gives overall nice results but it stopped wire edges from working. Now step over wire too.
2014-11-06Editmesh: select more/less can now step over adjacent facesCampbell Barton
This keeps a square shaped selection when using grid topology.
2014-09-29Cleanup: remove smooth_ from 'smooth_factor'Campbell Barton
redundant, just call factor as smooth modifier does.
2014-09-28Fix T25582: Add a 'smooth factor' to smooth_vertex BMesh op.Bastien Montagne
Based on code by wahooney (Keith Boshoff), patch itself was merely rewritten due to BMesh changes...
2014-07-21Math Lib: rename mul_serie_m3 to mul_m3_series & reorder argsCampbell Barton
Importantly, reversed mul_serie_m3 argument order (so it matches the m4 function)
2014-07-20Math Lib: use variable length args for mul_serie_m3,m4 (instead of trailing ↵Campbell Barton
NULL's)
2013-10-16fix [#37100] Segfault when I rotate an edgeCampbell Barton
2013-10-09code cleanup: redundant includes and add minor comments.Campbell Barton
2013-08-21use BM_CREATE_NOP arg rather then zero, with pointer and bool args in either ↵Campbell Barton
side in some cases it gets a bit confusing. also correct edge-rotate where bool->flag conversion worked by accident.
2013-07-30function renaming for own recently added BLI_math functions, suggested by ↵Campbell Barton
Brecht.
2013-07-28move alloca define into its own header since its not related to BLI_arrayCampbell Barton
2013-07-26fix [#36282] Spin error with non uniform scaleCampbell Barton
add support for passing object matrix to bmesh transform operators.
2013-07-26optimization: call one bmesh operator for rotate (not 3).Campbell Barton
added pivot_m4() utility function since rotating about an arbitrary point is handy.
2013-07-08move normal recalculation into its own source file.Campbell Barton
2013-07-08fix [#36047] Recalculate normals produces faulty normals on certain simple ↵Campbell Barton
meshes The mesh in the report had 3 faces-user-edges, resolve the problem by not walking over these edges. also don't recurse anymore (avoids realloc's).
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-15fix for own recent change with normal calculation (with no faces it wasn't ↵Campbell Barton
freeing 0 byte allocation).
2013-05-13add missing STACK_INIT, also quiet float <> double conversion warnings.Campbell Barton
2013-05-12remove BLI_array allocations from uv/color reverse, rotate. Campbell Barton
2013-05-12bmesh recalculate normals - remove BLI_array reallocation, the max size of ↵Campbell Barton
the array is known. replace with STACK_* macros (moved to BLI_utildefines.h).
2013-05-12remove wanton use of array reallocation for mesh smoothing.Campbell Barton
2013-04-23from bug report [#34984] bmesh.ops.recalc_face_normals() ignores use_flip=TrueCampbell Barton
the name `use_flip` is misleading, option in fact tags faces that have been flipped, rename to `use_face_tag`
2013-03-21code cleanup: remove double call to BKE_node_instance_key(), rename ruler ↵Campbell Barton
(lots of tools are 3d :)), and redundant assignment.
2013-01-20fix for own error in recent BLI_array commitCampbell Barton
2013-01-14use booleans for bmesh api.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-02Silent a bunch of gcc warnings (usually dummy, but noisy!).Bastien Montagne
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-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-27use clearer names for 'single' bmesh operator args & add '%e' to ↵Campbell Barton
BMO_op_vinitf comments.
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()
2012-11-27bmesh/py operator api:Campbell Barton
add type checking for element buffers, there was nothing stopping python from passing any element type into an argument when in some cases only verts/edges/faces were expected. now operator args define which types they support.