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-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-26Fix T78304: Scaling without a constraint axis shows wrong parameters in ↵Germano Cavalcante
Adjust Last operator panel Caused by {rB600fd1c6f0ed}
2020-06-23Fix T78045: CTL-ALT-S does nothing in pose mode and crashes when called from ↵Germano Cavalcante
the menu
2020-06-16Fix T61777: Proportional editing doesn't work with multi edit-modeAlan Troth
2020-06-15Cleanup: Rearrange Vert and Edge slide functionsGermano Cavalcante
And make `trans_mesh_customdata_correction` a more generic utility.
2020-06-10Cleanup: make the sculpt convert type follow transform conventionGermano 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-01Fix T77194: Force global orientation on select constraint (Shift MMB) not ↵Germano Cavalcante
working This feature was a hack to prevent mmb select to print the orientation from menu in pre 2.80 versions. Removing this feature as it is no longer an issue.
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-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-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-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-01Transform: Allow orientation change with custom matrix in modalGermano Cavalcante
2020-05-01Fix T76254: 'Normal' Transformation Orientation using GlobalGermano Cavalcante
Issue introduced in rBc57e4418bb85.
2020-04-30Fix orientation change in RedoGermano Cavalcante
Some transform redo operations require contraint to be enabled. Issue 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-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-10Fix T74657: Grease Pencil Proportional Editing does not work forPhilipp Oeser
'Individual Origins' Note gpencil doesnt do anything fancy like meshes in editmesh_islands_info_calc(), but it looks like there is actually no harm in allowing proportional editing with individual origins & gpencil editmode. Maniphest Tasks: T74657 Differential Revision: https://developer.blender.org/D7351
2020-04-07Fix T60069: repeated extrusion uses wrong axismano-wii
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-27Cleanup: rename WM_modalkeymap API names, matching WM_keymapCampbell Barton
Rename: - WM_modalkeymap_add to WM_modalkeymap_ensure - WM_modalkeymap_get to WM_modalkeymap_find
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2020-03-18Cleanup: Resolve HKEY conflictRay Molenkamp
Both the MS headers and blender headers define the HKEY which gives all kind of inclusion order issues. This diff renames all *KEY constants to EVT_*KEY to resolve this conflict. Reviewed By: brecht , dfelinto Differential Revision: http://developer.blender.org/D7164
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-06Keymap: ignore repeat events for transform actionsCampbell Barton
Resolves T54297
2020-02-29Cleanup: Move transform_constraints declarations to its own headerGermano Cavalcante
2020-02-27Transform: Remove 'mouse_coordinate_override' propertyGermano Cavalcante
This property depends on the view that can change when redoing.
2020-02-21Cleanup: Move transform_mode_init to transform_mode APIGermano Cavalcante
2020-02-21Fix T74044: Switching from Edge Slide to Move and Cancelling causes crashGermano Cavalcante
`TFM_TRANSLATION` was removed in rBa33b261473e9 but is still needed.
2020-02-17Fix T71455, T73852, T73860: Transform, Redo doesn't work properly in time ↵Germano Cavalcante
editors The redo panel does not consider the position of the mouse. So it is not possible to know the direction to redo the operator. The solution is to add a new `direction` parameter that can be saved and used for redo. Differential Revision: https://developer.blender.org/D6852
2020-02-14Cleanup: compiler warningsBrecht Van Lommel
2020-02-14Cleanup: Split transform.c in multiple filesmano-wii
Differential Revision: https://developer.blender.org/D5819
2020-02-05Fix T66802: Edge Slide: Unpredictable direction of the edge loop when it is ↵mano-wii
fully occluded When an edge loop is fully occluded the direction of movement is not calculated resulting in unpredictable behavior. So always calculate the direction of the groups of edge loops but continue preventing occluded edges from affecting `mval_dir` (global) value. Differential Revision: https://developer.blender.org/D5247
2020-02-05Transform: Optimize edge slidemano-wii
The current edge slide is executed in this sequence: - traverses all edges to find the ones selected, - traverses each vertex of the selected edges, - traverses each linked edge of the vertex to finally execute the code. However the list of vertices that are part of selected edges are already stored in `EdgeSlideData` through the `TransDataEdgeSlideVert *sv;` member. Therefore, the code can be simplified as follows: - traverses all `sv` in `EdgeSlideData`, - get the `sv->v` vertex to finally execute the code. Differential Revision: https://developer.blender.org/D5277
2020-01-29Merge branch 'blender-v2.82-release'Philipp Oeser
2020-01-29Fix T73014: Marker sync does not work correctly if moving strip so it ↵Philipp Oeser
overlaps another strip Need to also offset markers in BKE_sequence_base_shuffle_time(). Also clarify/correct related comments. Maniphest Tasks: T73014 Differential Revision: https://developer.blender.org/D6555
2020-01-29Merge branch 'blender-v2.82-release'Philipp Oeser
2020-01-29Fix T55622: Proportional editing for Gpencil/Masks in dope sheet notPhilipp Oeser
taking proportional size into account Transform would always move all keyframes (e.g even when Proportional size is 0.0). 'calculatePropRatio()' was setting td->factor correctly, but this was not being considered in 'applyTimeTranslateValue()' if there was no action [which greasepencil and masks do not have]. Maniphest Tasks: T55622 Differential Revision: https://developer.blender.org/D6697
2020-01-13Fix T72094: Multiple snap targets don't work when Increment is enabledmano-wii
The `poll_modal_item` was too restrictive. `!validSnap(t)` already solves these cases, but for better readability (and efficiency), I found it best to keep the `tsnap.mode` test.
2020-01-07BMesh: remove BMEditMesh.ob use BKE_editmesh_lnorspace_* APICampbell Barton
Note that this is a bit clumsy having both edit-mesh and mesh, BKE_editmesh_ensure_autosmooth & BKE_editmesh_lnorspace_update are often called together, these could be made into a single functions.
2019-12-20Cleanup: split transform cursor drawing into their own filesCampbell Barton
2019-12-19UI: use DPI scale for transform cursorsCampbell Barton
2019-12-09Gizmo: add view aligned gizmo for shearCampbell Barton
2019-11-29Fix T72024: Transform Snap: Alingn Rotation distorts objectmano-wii
Occurs in edit mode when object has no uniform scale.