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
2020-11-05Fix T65205: "To Sphere" radius too large with proportional editingCampbell Barton
The radius is now calculated based on the vertices being transformed by proportional editing, updated when the falloff changes.
2020-10-10Cleanup: use C comments for descriptive textCampbell Barton
Follow our code style guide by using C-comments for text descriptions.
2020-10-08Cleanup: Move transform_orientations functions to separate headerGermano Cavalcante
Improves the organization and identification of the API.
2020-10-07Cleanup: Remove redundant if-conditionGermano Cavalcante
2020-10-07Fix T81480: Input 0 to scale in redo panel resets to 1Germano Cavalcante
Checking if `t->values[i] != 0.0f;` is not the best solution for all transform cases.
2020-09-25Fix T80937: Changing the contrain axis does not return to the scene orientationGermano Cavalcante
This was the behavior in old versions of blender. During a transformation operation, when pressing a contrain key, the chosen orientation is that of the scene. If you press the same key, the orientation changes to Global or Local. However, if you choose another contrain axis with the orientation changed, the orientation does not return to the set for the scene. It remains Global or Local. Now when changing a contrain axis, no matter what the current orientation is, it always returns to the scene orientation.
2020-09-18Unify all XYZ symmetry options using Mesh SymmetryPablo Dobarro
This adds XYZ symmetry as a property of meshes and updates all modes to use the mesh symmetry by default to have a consistent tool behavior between all modes and when switching objects. Reviewed By: brecht, mano-wii, campbellbarton Maniphest Tasks: T79785 Differential Revision: https://developer.blender.org/D8587
2020-07-03Cleanup: Editors/Transform, Clang-Tidy else-after-return fixesSybren A. Stüvel
This addresses warnings from Clang-Tidy's `readability-else-after-return` rule in the `source/blender/editors/transform` module. No functional changes.
2020-07-01Transform: generalized custom-data correction supportGermano Cavalcante
Support custom-data correction based on surrounding geometry for all transformation modes of the mesh transform operators. The is the same logic used in Vert and Edge Slide. In order not to change the current default behavior, this property does not affect Vert and Edge Slide modes.
2020-06-27Fix T78259: Proportional editing does not work in particle editingGermano Cavalcante
And better identify what is bool and what is flag in the proportional edit properties.
2020-06-27Revert "Fix T78259: Proportional editing does not work in particle editing"Germano Cavalcante
This reverts commit 5c48592ccde08e18d13255e89d09067d5dc0f771. Ii introduced a stupid error. Fix T78352
2020-06-26Fix T78259: Proportional editing does not work in particle editingGermano Cavalcante
This is a long-standing bug, possibly proportional editing never worked in particle mode. Some parameter definitions in the transform code are scattered and sometimes duplicated. Proportional editing is a parameter that depends only on the Convert type and not `spacetype`, `CTX_` or `obedit_type`.
2020-06-19Fix T77476: Transform Align mode using View orientation by defaultGermano Cavalcante
2020-06-08Fix T70873: Pivot Center doesn't compute mirror elementsGermano Cavalcante
2020-06-08Cleanup: Move each recalcData to their respective TransData fileGermano Cavalcante
2020-06-04Cleanup: remove window manager argument for paint cursor APICampbell Barton
This caused an additional argument when exiting object modes and many other low level functions which don't need to access context. This simplifies fixing T77073.
2020-06-02Merge branch 'blender-v2.83-release'Campbell Barton
2020-06-02Fix T72088: Missing header redraw when transform changes snapCampbell Barton
2020-06-01Cleanup: Remove unused flagGermano Cavalcante
2020-05-31Fix T77206: G + MMB Doesn't work in Graph Editor if the transform ↵Germano Cavalcante
orientation is set to 'Local' Scene orientation is used only for 3DView.
2020-05-28Cleanup: spellingCampbell Barton
2020-05-22Fix T76974: Shear Tool Misses OrientationGermano Cavalcante
2020-05-22Transform: refactoring - unify constraint and default orientationGermano Cavalcante
2020-05-21Fix T76935: Current orientation not taken in account when using "Align to ↵Germano Cavalcante
transform orientation"
2020-05-21Fix T76933: 'Align to Transform Orientation' crashes for Custom orientationsGermano Cavalcante
2020-05-20Fix T76919: Wrong orientation when changing translate to rotateGermano Cavalcante
During the refactor of the transform operations, in an attempt to maintain previous behavior, the default orientation of the translate and resize operations became `Global` and the rotate operation became `View`. Now the default is always `View`, and on redo, the translate and rotate operations are saved as `Global`.
2020-05-12Transform orientation tweaksGermano Cavalcante
If the orietation is setted as a parameter, it is best to refer to it as a constraint orietation so that it can be reused in successive axis presses. This is useful to retrieve the orientation of the extrude for example.
2020-05-12Fix T76693: Inconsistent rotation Shortcut vs GizmosGermano Cavalcante
Problem introduced in rB4deea4f4c57a
2020-05-11Fix T76504: Extrusion doesn't take in account the current transform orientationGermano Cavalcante
Use orientation defined in the scene when changing constraint
2020-05-11Revert "Fix T76504: Change in behavior of constraints orientation"Germano Cavalcante
This reverts commit 2f63e479313332756d0879b841527a31fa1d30b3.
2020-05-11Fix error in last transform orient commitGermano Cavalcante
2020-05-11Fix T76630: Crash when changing transform value with Custom OrientationGermano Cavalcante
2020-05-07Fix direction of the Gizmo Extrude adjustment axisGermano Cavalcante
The extrude adjustment gizmo reads the last constrained axis set. So it is important to keep the final value actually used.
2020-05-07Fix T76504: Change in behavior of constraints orientationGermano Cavalcante
The Extrude operator, whose orientation is NORMAL, has undergone some seemingly accidental changes: - In 2.79 if you press the same key as the axis in constraint, it changes from Normal to No Contraint -> Global -> Normal and repeat this. - In 2.80 it changes from Normal to Local -> No Contraint -> Global -> Local and repeat this. This committee resumes the behavior of 2.79
2020-05-06Cleanup: Remove old invalid commentAntonio Vazquez
2020-04-29Fix crash with Orbit Around SelectionGermano Cavalcante
Missing check of `NULL` `op` introduced in rBc57e4418bb85.
2020-04-29Transform Orientation RefactorGermano Cavalcante
- Use `t->spacemtx` as the orientation matrix instead `t->orient_matrix`. - Unify constraint behavior between modal and non-modal. - Simplify code to remove old workarounds and rearrange struct members. This fix T66142 since the actual `orient_type` (in the case `V3D_ORIENT_NORMAL`) is used during Redo instead of always using `V3D_ORIENT_CUSTOM_MATRIX`). Differential Revision: https://developer.blender.org/D7469
2020-04-15Operator: Add 'use_automerge_and_split' option for TranslateGermano Cavalcante
2020-04-03Cleanup: Animation, move AnimData API to `anim_data.c`/`BKE_anim_data.h`Sybren A. Stüvel
The `BKE_animsys.h` and `anim_sys.c` files already had a an "AnimData API" section. The code in that section has now been split off, and placed into `BKE_anim_data.h` and `anim_data.c`. All files that used to include `BKE_animsys.h` have been adjusted to only include the animation headers they need (sometimes none). No functional changes.
2020-04-03Cleanup: Rename ScrArea variables from sa to areaJulian Eisel
Follow up of b2ee1770d4c3 and 10c2254d412d, part of T74432. Now the area and region naming conventions should be less confusing. Mostly a careful batch rename but had to do few smaller fixes. Also ran clang-format on affected files.
2020-04-03Cleanup: use abbreviated names for unsigned types in editorsCampbell Barton
2020-03-23Revert "COW: Edit Mesh: Do not copy the looptris pointer"Germano Cavalcante
The looptri is repeated in the linked Meshes but the pointer is only referenced in the evaluated ones. This reverts commit 64982e213f014123d1b0406cf9ae893910a6a3d3.
2020-03-23COW: Edit Mesh: Do not copy the looptris pointerGermano Cavalcante
No functional changes. Differential Revision: https://developer.blender.org/D7173
2020-03-20GPencil: Fix unreported slow transform with proportional editionAntonio Vazquez
Now a hash is used to avoid double update of the same stroke. The old method was not correct with proportional edition.
2020-03-19GPencil: Cleanup - Split BKE_gpencil.h geometry functions into ↵Antonio Vazquez
BKE_gpencil_geom.h This split prepare the code for future geometry functions.
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2020-03-12Fix T74605 Key Indicator for motion paths not updating for objectsSybren A. Stüvel
This fixes a functional change in 4db2a08281f8495421938e0b2f6a802420afba36, which was marked as 'should have non-functional changes only'.
2020-03-09GPencil: Refactor of Draw Engine, Vertex Paint and all internal functionsAntonio Vazquez
This commit is a full refactor of the grease pencil modules including Draw Engine, Modifiers, VFX, depsgraph update, improvements in operators and conversion of Sculpt and Weight paint tools to real brushes. Also, a huge code cleanup has been done at all levels. Thanks to @fclem for his work and yo @pepeland and @mendio for the testing and help in the development. Differential Revision: https://developer.blender.org/D6293
2020-03-06Cleanup: Rename ARegion variables from ar to regionJulian Eisel
The old convention was easy to confuse with ScrArea. Part of https://developer.blender.org/T74432. This is mostly a batch rename with some manual fixing. Only single word variable names are changed, no prefixed/suffixed names. Brecht van Lommel and Campbell Barton both gave me a green light for this convention change. Also ran clan clang format on affected files.
2020-02-27Transform: Remove 'mouse_coordinate_override' propertyGermano Cavalcante
This property depends on the view that can change when redoing.