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
2021-12-08Cleanup: move public doc-strings into headers for 'editors'Campbell Barton
Ref T92709
2021-07-19Fix some mesh edition macro operators incorrectly setting an empty ↵Bastien Montagne
description string. No operator or macro should be missing description. But if they do, then they should use NULL pointer, and not an empty string. This behavior was already enforced (through an assert) for operators, previous commit made it the same for macros.
2021-03-16Grease Pencil: Add LineArt modifierYimingWu
This adds the LineArt grease pencil modifier. It takes objects or collections as input and generates various grease pencil lines from these objects with the help of the active scene camera. For example it can generate contour lines, intersection lines and crease lines to name a few. This is really useful as artists can then use 3D meshes to automatically generate grease pencil lines for characters, enviroments or other visualization purposes. These lines can then be baked and edited as regular grease pencil lines. Reviewed By: Sebastian Parborg, Antonio Vazquez, Matias Mendiola Differential Revision: http://developer.blender.org/D8758
2021-02-10Cleanup: remove redundant headers in source/blender/editors/Campbell Barton
Remove redundant headers using `./source/tools/utils_maintenance/code_clean.py` Reviewed By: jmonteath Ref D10364
2020-09-03Sculpt: Face Set Extract OperatorPablo Dobarro
This implements a Face Set Extract operator, which is similar to mask extract. This operator uses a picker to select and Face Set in the mesh and extract the geometry directly to a new object. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8599
2020-06-23Sculpt Vertex Colors: Initial implementationPablo Dobarro
Sculpt Vertex Colors is a painting system that runs inside sculpt mode, reusing all its tools and optimizations. This provides much better performance, easier to maintain code and more advanced features (new brush engine, filters, symmetry options, masks and face sets compatibility...). This is also the initial step for future features like vertex painting in Multires and brushes that can sculpt and paint at the same time. This commit includes: - SCULPT_UNDO_COLOR for undo support in sculpt mode - SCULPT_UPDATE_COLOR and PBVH flags and rendering - Sculpt Color API functions - Sculpt capability for sculpt tools (only enabled in the Paint Brush for now) - Rendering support in workbench (default to Sculpt Vertex Colors except in Vertex Paint) - Conversion operator between MPropCol (Sculpt Vertex Colors) and MLoopCol (Vertex Paint) - Remesher reprojection in the Voxel Remehser - Paint Brush and Smear Brush with color smoothing in alt-smooth mode - Parameters for the new brush engine (density, opacity, flow, wet paint mixing, tip scale) implemented in Sculpt Vertex Colors - Color Filter - Color picker (uses S shortcut, replaces smooth) - Color selector in the top bar Reviewed By: brecht Maniphest Tasks: T72866 Differential Revision: https://developer.blender.org/D5975
2020-06-22Tools: rename 'Extrude, Dissolve and Intersect' to 'Extrude Manifold'Germano Cavalcante
2020-04-15View3D: New tool 'Extrude, Dissolve and Intersect'Germano Cavalcante
Basically this new tool constitutes a macro that uses the parameters of the Extrude and Translate operators that were recently implemented. Thanks to @CandleComet for initial implementation. Differential Revision: https://developer.blender.org/D7222
2020-04-07UI: rename 'smoothen' to 'smooth'Campbell Barton
Other smooth operators use term 'smooth'.
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2019-11-21Sculpt: Mask SlicePablo Dobarro
This operator is similar to Mask Extract, but it deletes the masked points on the original mesh and fills the holes. This can be useful for quickly trimming or splitting an object. This is not meant to be the main trimming tool of sculpt mode. I plan to have a set of trimming tools based on geometry booleans (trim box, lasso, line, bisect...) but in some cases doing a mask selection is more convenient. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D6160
2019-09-10Sculpt: Mask Extract operatorPablo Dobarro
This operator extracts the paint mask to a new mesh object. It can extract the paint mask creating a boundary loop in the geometry, making it ready for adding a subdivision surface modifier. Reviewed By: brecht Differential Revision: https://developer.blender.org/D5384
2019-08-27Edit Mesh: Poly build tool improvementsPablo Dobarro
This commit changes the functionality of the Poly build tool to make it more suitable for retopology tasks: - Click and drag from a boundary edge extrudes a new quad - Click and drag on vertices tweaks the position - Ctrl + click adds geometry. There is a geometry preview in the gizmo. It also can automatically convert triangles to quads. - Shift + click deletes mesh elements (faces or vertices) - Updated preselection code. Different mesh elements take priority depending on the selected action. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D5573
2019-05-05UI: TooltipsWilliam Reynish
- Add missing tooltips to Quick Effects and Subdivide Edge Ring - Add proper tooltip to the Bevel operator - Clearer tooltips for the extrude operators Plus a few other tweaks Suggested by users on Devtalk.
2019-04-30UI: reorganize proportional editing optionsCampbell Barton
- Move connected & projected into individual toggles. - Top-level proportional editing button now only toggles. - Use popover for proportional edit-mode falloff and options. Note that it's no longer possible to toggle connected via key bindings, although this could be supported again if it's needed. Resolves T58081
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-11Bevel: Make modal keymap instead of hardcoded.Howard Trickey
Also added keys for toggling harden normals, and cycling through miter types. Still to do: add some shortcuts for affecting the spread value for arc miters.
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.
2019-01-26Cleanup: remove redundant BKE/BLI/BIF headersCampbell Barton
2018-11-09Keymap: move builtin keymaps from C to PythonBrecht Van Lommel
This should be purely an implementation change, for end users there should be no functional difference. The entire key configuration is in one file with ~5000 lines of code. Mostly avoiding code duplication and preserve comments and utility functions from the C code. It's a bit long but for searching and editing it's also convenient to have it all in one file. Notes: - Actual keymap is shared by blender / blender_legacy and stored in `keymap_data/blender_default.py` This only generates JSON-like data to be passed into `keyconfig_import_from_data`, allowing other presets to load and manipulate the default keymap. - Each preset defines 'keyconfig_data' which can be shared between presets. - Some of the utility functions for generating keymap items still need to be ported over to Python. - Some keymap items can be made into loops (marked as TODO). See: D3907
2018-10-02Merge branch 'master' into blender2.8Campbell Barton
2018-10-02Correct tooltipCampbell Barton
2018-09-10Cleanup: use title capsCampbell Barton
2018-09-10Tool System: use preselect highlight w/ poly-buildCampbell Barton
- Poly build now uses a new gizmo for pre-selection which has the same behavior as loop-cut. This replaces hack where mouse-move set the active element which was no longer working properly because of missing depsgraph updates. - Multi-object support for poly-build. - Support for deformed cage. - Fix error where changing active object wasn't properly refreshing the preselect gizmo (for loopcut too). Currently holding Alt to select non-boundary element's isn't working.
2018-09-02Cleanup: move select all/none/invert into templateCampbell Barton
2018-08-31Merge branch 'master' into blender2.8Campbell Barton
2018-08-31Cleanup: rename WM_keymap_find -> WM_keymap_ensureCampbell Barton
2018-08-29Python / Cleanup: rename INFO_MT to TOPBAR_MT/VIEW3D_MT to reflect actual ↵Brecht Van Lommel
location.
2018-08-22Tool System: loop cut, confirm on releaseCampbell Barton
When accessed as a tool it felt awkward to click twice to execute.
2018-08-21Remove MESH_OT_drop_named_imageDalai Felinto
This was never ported to work with Cycles, so it is basically useless in 2.8. It can always be brought back in the future.
2018-08-143D View boarder/lasso select tool optionsCampbell Barton
Add tool options to control how select operates (add/sub/set/and/xor). Note: edit mode armature select still needs to support all options, this is complicated by how it handles partial end-point selection.
2018-08-01Merge branch 'blender2.8' into soc-2018-bevelBastien Montagne
Conflicts: release/scripts/addons release/scripts/startup/bl_ui/space_view3d_toolbar.py source/blender/editors/space_outliner/outliner_draw.c
2018-07-25Keymap: Use 1..4 to change UV select modesCampbell Barton
Support for sync selection switching which keys apply.
2018-07-21Merge branch 'blender2.8' into soc-2018-bevelRohan Rathi
2018-07-15WM: rename manipulator to gizmo internallyCampbell Barton
2018-07-12Keymap: Modifiers to control mesh elem switchingCampbell Barton
Shift/Ctrl control extend/expand when number keys are used to switch modes.
2018-07-04Keymap: Resolve inconsistencies, T55162Campbell Barton
2018-07-03Keymap: Select/De-Select now use A, Alt-ACampbell Barton
There are still some keys to update because some operators only support toggle.
2018-07-02Merge branch 'blender2.8' into soc-2018-bevelRohan Rathi
2018-07-02Keymap: add back X-Key for deleteCampbell Barton
This is needed as part of modeling work-flow, so keep it accessible.
2018-06-29Keymap: minimal default keymapCampbell Barton
Use 2.7x keymap preset for full keymap. Use define to allow further adjustments. See T55666.
2018-06-29Merge branch 'master' into blender2.8Campbell Barton
2018-06-29Cleanup: trailing newlinesCampbell Barton
2018-06-11Merge branch 'blender2.8' into soc-2018-bevelRohan Rathi
2018-06-07Keymap: continued testing/developmentCampbell Barton
After testing in the studio and extending the event system for drag events, we've agreed on adjustments to the new keymap, see: T55162 - Tab: Edit-mode toggle. - Tab + Cursor Drag: mode switching pie menu. - Accent/Grave: for 3D view pie menu. - F3: Search - 1..3, Shift-1..3: Edit mesh vertex/edge/face toggle. Other minor changes were made, however they aren't part of the design. - Ctrl-Shift-S: Image editor Save-As (was F3) - Ctrl-Alt-R: Repeat history (was F3)
2018-06-04Merge branch 'master' into blender2.8Campbell Barton
2018-06-04Cleanup: strip trailing space in editorsCampbell Barton