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-09-30Cleanup: convert gforge task ID's to phabricator formatValentin
Cleanup old tracker task format to the new. e.g: [#34039] to T34039 Ref D8718
2020-09-18Fix T80904: GPencil: bones cannot be transformed when in weightpaintPhilipp Oeser
mode The transform convert of type TC_POSE was not being defined if the mode was OB_MODE_WEIGHT_GPENCIL. Maniphest Tasks: T80904 Differential Revision: https://developer.blender.org/D8934
2020-07-15Add missing NULL assignment to D8293Sebastian Parborg
Missed reseting "next_td" in that patch. Shouldn't have caused any issues in practice, but it is nice to be extra clear and safe in the code.
2020-07-15Fix T78909: Curve-edit proportional connected-only brokenSebastian Parborg
Now it calculates the actual distance when traveling along the curve. I addition to this, it also now supports cyclic curves. Reviewed By: Campbell Differential Revision: http://developer.blender.org/D8293
2020-07-14Fix T78880: UV Editor - Match prop edit connected behavior with mesh editing ↵Sebastian Parborg
and fix Rip Region double proportional checkbox This fixes the double prop edit checkbox in the redo menu. This also makes it so that proportional edit in connected mode now matches how it behaves in mesh edit mode. Without this change, ripping in UV edit mode with proportional edit on would be useless as the UV verts you ripped will still be stuck together even if they were not connected anymore. Reviewed By: Campbell Differential Revision: http://developer.blender.org/D8289
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-01Cleanup: spellingCampbell Barton
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-23Fix camera snapping in camera ViewGermano Cavalcante
The `T_CAMERA` flag was being set in the wrong place.
2020-06-23Fix T78045: CTL-ALT-S does nothing in pose mode and crashes when called from ↵Germano Cavalcante
the menu
2020-06-16Cleanup: unused headers, spellingCampbell Barton
2020-06-14Fix T76563: Transforming an auto-aligned point won't set it alignedCampbell Barton
Correct previous commit that was checking values not yet initialized, causing T77796.
2020-06-10Cleanup: make the sculpt convert type follow transform conventionGermano Cavalcante
2020-06-10Cleanup: Move each special_aftertrans_update to their respective TransData fileGermano Cavalcante
2020-06-09Cleanup: Silence some overflow warnings in transform codeGermano Cavalcante
2020-06-09Transform: Fixes after recent refactorSergey Sharybin
Pointed by strict compiler warnings, but some of the reports were actually a real bugs: - Access uninitialized memory of td_mirror_iter. Assuming that iterator is to point to the first element of the data array. - Lattice's recalc data was never called. There is also a fix for redundant declaration of recalcData() and missing declaration of recalcData_lattice().
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-04Fix T77164: scaling/rotation fails for 3 selected NURB pointsCampbell Barton
2020-06-01Cleanup: Remove unused flagGermano Cavalcante
2020-05-25Merge branch 'blender-v2.83-release'Philipp Oeser
2020-05-25Fix autokeyframing masks not updating properlyPhilipp Oeser
Spotted while looking into T76872 Maniphest Tasks: T76872 Differential Revision: https://developer.blender.org/D7786
2020-05-18Merge branch 'blender-v2.83-release'Sebastián Barschkis
2020-05-18Fix T76795: Missing node tree update after remove-on-cancelJacques Lucke
Reviewers: brecht Differential Revision: https://developer.blender.org/D7775
2020-05-15Merge branch 'blender-v2.83-release'Campbell Barton
2020-05-15Fix T76563: Transforming an auto-aligned point won't set it alignedCampbell Barton
When local origins are used or a single control point is selected, change the handle types from auto to aligned.
2020-05-08Fix T76498: Refactoring - Rename BKE modifiers funtionsAntonio Vazquez
2020-04-28Cleanup: Use more descriptive names for functionsGermano Cavalcante
count_set_pose_transflags --> transform_convert_pose_transflags_update count_bone_select --> armature_bone_transflags_update_recursive Also don't mix `BONE_TRANSFORM_MIRROR` with `BONE_TRANSFORM` in transflag. (This was a mess introduced in rBde530a95dc7b).
2020-04-27Merge remote-tracking branch 'origin/blender-v2.83-release'Ray Molenkamp
2020-04-27cleanup: Remove unused variableRay Molenkamp
2020-04-27Merge branch 'blender-v2.83-release'Germano Cavalcante
2020-04-27Fix T75398: Redo with Shift R always uses the previous pivot centerGermano Cavalcante
Overwriting the pivot center was an attempt to fix T71455. The solution now is to save the direction in the "mirror" property.
2020-04-27Cleanup: Use common utility to get direction for TIME_EXTENDGermano Cavalcante
2020-04-15Operator: Add 'use_automerge_and_split' option for TranslateGermano Cavalcante
2020-04-07Fix T73598: Pose options - Auto IK. Bones move on releaseSebastian Parborg
The issue was that the code tried to use the bones transformation matrix as a rotation matrix. This works fine as long as the scale is 1. Now we simply make sure that we only get a pure rotation matrix when extracting it for the bone's transformation matrix.
2020-04-03Code Quality: Replace for loops with LISTBASE_FOREACHDalai Felinto
Note this only changes cases where the variable was declared inside the for loop. To handle it outside as well is a different challenge. Differential Revision: https://developer.blender.org/D7320
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: split ED_mesh_mirror_*_table into multiple functionsCampbell Barton
Spatial & topology mirror table each used a single function taking a char as an identifier. Split these into begin/end/lookup functions.
2020-04-03Cleanup: use abbreviated names for unsigned types in editorsCampbell Barton
2020-03-30Fix T75142: No autokeying with pose mode X-MirrorSybren A. Stüvel
This was caused by the removal of some `BONE_TRANSFORM_MIRROR` flag handling in rBde530a95dc7b482dc22c933b9b8b2a98c79b5663. I simply restored those lines that caused this issue.
2020-03-30Cleanup: reduce code indentation in autokeyframe_pose()Sybren A. Stüvel
This makes the code a bit simpler to follow, by replacing `if (x) { all the code here }` with `if (!x) { continue; }` and un-indenting the remaining code, and by returning early. No functional changes.
2020-03-25Cleanup: update doxy sectionsCampbell Barton
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2020-03-17Cleanup: rename 'centre' to 'center' in View3DCampbell Barton
2020-03-16Fix T61234 Mirroring Grease Pencil keyframes in the Dopesheet failsSybren A. Stüvel
`ANIM_animdata_update()` did not sort grease pencil frames. A pre-existing comment stated this wouldn't be necessary as `posttrans_gpd_clean()` already does this. However, this is only applicable when the change is performed via the transform system. The mirror operator doesn't call `posttrans_gpd_clean()`, invalidating the assumption in the comment. I moved the sorting code into `BKE_gpencil_layer_frames_sort()`, which is now called from both `ANIM_animdata_update()` and `posttrans_gpd_clean()`.
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-03-06Cleanup: keyframing return argumentsCampbell Barton
- Use 'int' for counters instead of short. - Use 'bool' instead of a counter when only a change is being detected. - Use typed enum for keying set flags. - Include in comments when a negate error code may be returned.