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
2021-06-24Cleanup: comment blocks, trailing space in commentsCampbell Barton
2021-06-07Fix T88900: Crash when setting Edge Weight/CreaseGermano Cavalcante
The `recalcData` of "convert_mesh_edge" did more than it was supposed to.
2021-05-12Merge branch 'blender-v2.93-release'Richard Antalik
2021-05-12Fix T81247: Constrain selected UVs to correct UDIMSiddhartha Jejurkar
With Constrain to Image Bounds selected, UVs will be constrained to the correct/closest UDIM if the image is tiled. UVs will be constrained to the 0-1 UV space if the image is not tiled. This will override the present behavior of always constraining selected UVs to the 0-1 UV space (UDIM 1001). Reviewed By: campbellbarton Ref D11202
2021-04-24Cleanup/Refactor: Unify similar flagsGermano Cavalcante
2021-04-24Cleanup/Refactor: Move FOREACH_TRANS_DATA_CONTAINER to outside of some functionsGermano Cavalcante
So we can reuse the same loop for different corrections.
2021-04-24Cleanup: Move transform recaldata functions to their respective filesGermano Cavalcante
2021-04-24Cleanup: Add a common prefix for some transform functionsGermano Cavalcante
2021-03-25Fix T86796: moving the cursor in the UV Editor does not take aspect intoPhilipp Oeser
account UV coords are scaled by aspects (see UVsToTransData). This also applies for the Cursor in the UV Editor which also means that for display and when the cursor coords are flushed (new 'recalcData_cursor_image' was added for this), these need to be converted each time. Maniphest Tasks: T86796 Differential Revision: https://developer.blender.org/D10817
2021-03-25Make moving the cursor in UV Editor a 2d edit transformPhilipp Oeser
This flags moving the cursor in the Image Editor T_2D_EDIT with the following benefits: - dissallowing e.g. Z constraints - improving the header display: -- it should not use scene units -- now respects if we are moving in pixel coords or not part of upcoming fix for T86796 ref D10817
2021-03-21Fix failure to set transform rotate around singleCampbell Barton
Regression in 201ab7c54025afc42570ce3df3d2bb7f37fe36be
2021-02-24Fix T85823: bpy.ops.transform... ignoring 'center_override' for Bezier ↵Germano Cavalcante
control points `transform_around_single_fallback_ex` ignored that the center could be overwritten.
2021-02-11Merge branch 'blender-v2.92-release'Campbell Barton
2021-02-11Fix T83013: Annotation with hidden object in sculpt mode crashesCampbell Barton
This just avoids the crash, the annotation tool still doesn't work. Larger changes will be needed to resolve this, see T85532.
2021-02-11Cleanup: incompatible-pointer-types warningCampbell Barton
2021-02-10Transform: refactor createTransData splitting into more specific functionsGermano Cavalcante
Currently, `createTransData` is doing much more than the name implies. This commit makes it clearer through smaller and more specific functions what the real purpose of that function.
2021-02-10Fix T85494: Click and drag of the 3d cursor turns off proportional editingGermano Cavalcante
Missed `CTX_NO_PET`. This commit also reorganizes the code to make it clearer when using flags.
2021-02-10Fix T85471: Wrong orientation in transforming objects in weight paint modeGermano Cavalcante
The local orientation chosen was that of the active object, but as confirmed in other parts of the code, the orientation of the selected Bone has priority.
2021-02-08Transform: Refactor texture space 'transform_convert' dataGermano Cavalcante
The changes are: - Split conversion of the texture space data to its own file. - Skip adding keyframes with AutoKeyframes. - Skip recalculation of the trasform dependencies between objects. - Skip `special_aftertrans_update_...`. No real user functional changes
2021-02-08Cleanup: Unify, move and rename transform flagsGermano Cavalcante
Flags unified: T_CURSOR -> CTX_CURSOR T_TEXTURE -> CTX_TEXTURE Flags moved: T_CAMERA -> CTX_CAMERA T_POSE -> CTX_POSE_BONE T_OBJECT -> CTX_OBJECT T_TEXTURE -> CTX_TEXTURE_SPACE Flag renamed: CTX_EDGE -> CTX_EDGE_DATA
2021-02-08Transform: Grid snap target refactorGermano Cavalcante
The code takes many turns to get a suitable "target" for the snap to grid. Perhaps there were other reasons awaited for `transformCenter_from_type` and `TransCenterData center_cache[5]`. But since nothing is defined, it is better to simplify the code. No user functional changes
2021-02-08Cleanup: Rearrange and name the enums and flags used in the transform codeGermano Cavalcante
Simple change that shows all the enums used in the transform code and helps to better understand the role of the members of the struct TransInfo. It also allows the IDE to show the name of the value represented by the member instead of a number that needs to be consulted. Differential Revision: https://developer.blender.org/D10312
2021-02-05Cleanup: correct spelling in commentsCampbell Barton
2021-01-04Fix T84376: Skin Resize(Ctrl + A) does not work in SymmetryGermano Cavalcante
Since the `TransData` converted from vertices is the same used for other transform modes (Move, Rotate, Resize), the logic used for mirroring focused only on the position of the vertices. The solution here is to create a specific `TansData` for `CD_MVERT_SKIN`.
2021-01-04Fix T84345: Transforming the cursor fails with absolute grid-snapCampbell Barton
Absolute grid snapping was using the pivot, which doesn't make sense when transforming the cursor.
2020-12-08LibOverride: Add initial support for adding new NLA tracks.Bastien Montagne
Also makes NLA tracks and strips overridable. User can either edit existing strips in existing NLA tracks (but not add or remove them), and/or add new NLA tracks after those comming from the linked data. Most of the work was as usual checking operators and adding protections against illegal operations in override context. Note that since we can only rely on indices to deal with local added tracks, we forbid any local track being before any linked/original track. Maniphest Tasks: T72629 Differential Revision: https://developer.blender.org/D9611
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