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-02-07Cleanup: transform_convert comment and spacingmano-wii
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-02-05Fix T67641 Gizmo3D: Transform gizmo disappear in very close viewClément Foucault
This was caused but a workaround for not selecting the gizmos in camera view. We lower the threshold to make it work on maximum zoom level.
2020-02-01Merge branch 'blender-v2.82-release'Campbell Barton
2020-02-01Object: support 'Affect Parents' for snap/clear transformCampbell Barton
Resolves T69450
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-25Cleanup: remove source file added by accidentCampbell Barton
2020-01-24Merge branch 'blender-v2.82-release'mano-wii
2020-01-24Fix T73349: X-Ray Mode - snapping through object stop working on value = 1mano-wii
2020-01-17Merge branch 'blender-v2.82-release'mano-wii
2020-01-17Fix T73159: Crash transforming 0 edited grease objectsmano-wii
2020-01-16Merge branch 'blender-v2.82-release'mano-wii
2020-01-16Fix crash with Proportional Edit Connected in UV editingmano-wii
Caused by rB86a2ffc3ab32
2020-01-16UI: Use same precision in "Move" redo panel as elsewhereJulian Eisel
The floating "Move" redo panel showed transform values with less precision than in other places (e.g. sidebar and properties editor). With Millimeters as unit it would even round to full integers, which may be an issue since you typically work at higher precisions with this unit. Note that this only applies to the visual precision, internally we use full floating point `float`s still. Fixes T70367.
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-09Fix UV gizmos poll failing with multiple objectsCampbell Barton
Only the active objects UV selection was checked. This also avoids checking UV selection for every poll call, now this is only done on refresh.
2020-01-09Fix multiple UV gizmos being linked at onceCampbell Barton
This happened when reloading the file after using different gizmos.
2020-01-09Gizmo: use pivot center for UV gizmosCampbell Barton
2020-01-07BMesh: remove BMEditMesh.ob use for ED_transform_snap_object_* APICampbell Barton
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.
2020-01-06Gizmo: match UV editor gizmos more closely to the 3D viewCampbell Barton
2020-01-06Gizmo: support 3D arrow gizmos in 2D spacesCampbell Barton
Allows 2D arrows to be removed, since they work slightly differently and don't support offset matrices. Use these in the UV editor.
2020-01-06Gizmo: use compatible scale values between 2D/3D gizmosCampbell Barton
Make the UV editor gizmos the same size as the 3D view.
2020-01-02Transform: Pose: Partial support for Auto IK + X-Mirrormano-wii
Fix T69572 TODO: support `Relative-Mirror` as well. Maniphest Tasks: T69572 Differential Revision: https://developer.blender.org/D5862
2019-12-31Transform: Individual Origins: Create islands between only selected uvs.mano-wii
Currently the islands are created depending only on the visible UVs. This can be confusing because compared to Edit Meshes, islands are created based on the selected elements. T68284 shows a case where this confusion is observed. Differential Revision: https://developer.blender.org/D6502
2019-12-24Action Constraint: introduce a mix mode setting.Alexander Gavrilov
Currently the action channels are applied after the existing transformation, as if the action controlled a child of the bone. This is not very natural, but more importantly, the transform tools are not designed to work conveniently with an additional 'pseudo-child' transformation, resulting in effects like an unexpected pivot location. Implementing a Before mode that integrates the action channels as if applied to a parent allows using the special transform tool code intended for dealing with such constraints. Note that in either mode, Action constraints should be added in reverse order, putting a new constraint before the existing ones that the Action was keyframed to work together. In order to implement the option, extract a utility from the Copy Transform constraint code for combining transforms with special anti-shear scale handling that matches the Aligned Inherit Scale mode. The Before mode also requires switching the constraint to the Local owner space, while the After mode can still use the World space for efficiency as before. Since the constraint doesn't have an Owner space option in the UI, this has to be handled in an RNA setter. For full backward compatibility, the original simple matrix multiplication mode is preserved as the third option, but it is not recommended due to creating shear. Differential Revision: https://developer.blender.org/D6297
2019-12-22Object: extract data transform container into own APICampbell Barton
2019-12-20Remove empty header added by accidentCampbell Barton
2019-12-20Cleanup: simplify transform cursor DPI scalingCampbell Barton
2019-12-20Cleanup: split transform cursor drawing into their own filesCampbell Barton
2019-12-19UI: use DPI scale for transform cursorsCampbell Barton
2019-12-18Gizmo: add the ability to postpone refreshing while tweakingCampbell Barton
This resolves a logical problem using tweak as a fallback tool. See: T66304#828742 The select action would immediately show the gizmo underneath it, then the tweak would be handled by the gizmo instead of moving the item under the cursor. Currently this works by hiding the gizmo until the tweak event ends. While it's simpler to check if the gizmo received a mouse-down event, it causes flickering before each drag event which feels like a glitch. This is optional for each gizmo type because there are cases where this can be useful to activate the gizmo immediately (mesh rip for example).
2019-12-17Cleanup: redundant struct declarationsCampbell Barton
2019-12-13Gizmo: add gizmos for UV transform translate/rotate/scaleCampbell Barton
2019-12-12Fix tool fallback being ignored with transform gizmosCampbell Barton
This only worked once the gizmo was displayed.
2019-12-09Gizmo: add view aligned gizmo for shearCampbell Barton
2019-12-06Tool System: experimental fallback tool supportCampbell Barton
Implement T66304 as an experimental option, available under the preferences "Experimental" section. - When enabled most tools in the 3D view have a gizmo. - Dragging outside the gizmo uses the 'fallback' tool. - The fallback tool can be changed or disabled in the tool options or from a pie menu (Alt-W).
2019-12-03Fix T72112: Perpendicular snapping with closest not workingmano-wii
The closest target is calculated only after a snap point is found. So use `center_global` while the target is not calculated.
2019-12-02Fix T72071: Crash on snap to edgemano-wii
Caused when the vertices index is dirty due to some mesh editing operation like Extrude
2019-12-02Overlay Engine: Refactor & CleanupClément Foucault
This is the unification of all overlays into one overlay engine as described in T65347. I went over all the code making it more future proof with less hacks and removing old / not relevent parts. Goals / Acheivements: - Remove internal shader usage (only drw shaders) - Remove viewportSize and viewportSizeInv and put them in gloabl ubo - Fixed some drawing issues: Missing probe option and Missing Alt+B clipping of some shader - Remove old (legacy) shaders dependancy (not using view UBO). - Less shader variation (less compilation time at first load and less patching needed for vulkan) - removed some geom shaders when I could - Remove static e_data (except shaders storage where it is OK) - Clear the way to fix some anoying limitations (dithered transparency, background image compositing etc...) - Wireframe drawing now uses the same batching capabilities as workbench & eevee (indirect drawing). - Reduced complexity, removed ~3000 Lines of code in draw (also removed a lot of unused shader in GPU). - Post AA to avoid complexity and cost of MSAA. Remaining issues: - ~~Armature edits, overlay toggles, (... others?) are not refreshing viewport after AA is complete~~ - FXAA is not the best for wires, maybe investigate SMAA - Maybe do something more temporally stable for AA. - ~~Paint overlays are not working with AA.~~ - ~~infront objects are difficult to select.~~ - ~~the infront wires sometimes goes through they solid counterpart (missing clear maybe?) (toggle overlays on-off when using infront+wireframe overlay in solid shading)~~ Note: I made some decision to change slightly the appearance of some objects to simplify their drawing. Namely the empty arrows end (which is now hollow/wire) and distance points of the cameras/spots being done by lines. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D6296
2019-11-29Fix T72024: Transform Snap: Alingn Rotation distorts objectmano-wii
Occurs in edit mode when object has no uniform scale.
2019-11-24Cleanup: doxygen commentsCampbell Barton
Also correct some outdated symbol references, add missing 'name' commands.
2019-11-24Cleanup: spelling, repeated wordsCampbell Barton
2019-11-22UI: Changes to Graph Editor selection and transformJulian Eisel
When introducing "drag-all-selected" support all over Blender, we figured this wouldn't work well with the Graph Editor selection/transform behavior. Hence, William and I worked on the following changes, although we used this chance to improve the behavior in general too. For more info see T70634. * Handles now always move with the key, regardless if they are selected or not. * Selecting the key doesn't select the handles anymore, their selection is separate. * Multiple keys and handles can now be dragged. * Dragging a handle moves all selected handles **on the same side**. * Tweak-dragging any handle can never affect any keyframe location, only handles. * G/R/S should behave as before. * Changing the handle type with a key selected always applies the change to both handles. * Box selection with Ctrl+Drag now allows deselecting handles (used to act on entire triple only). * Box selection //Include Handles// option now only acts on visible handles, wasn't the case with Only Selected Keyframes Handles enabled. * Box selection //Include Handles// is now enabled by default in all bundled keymaps. The changes have been tested for some days by the animators here in the Blender Animation Studio. Some changes are based on their feedback. Also, this improves/adds comments for related code. Differential Revision: https://developer.blender.org/D6235 Reviewed by: Sybren Stüvel, William Reynish
2019-11-22Gizmo: show extrude gizmos with dark '+' instead of negative spaceCampbell Barton
2019-11-13Merge branch 'blender-v2.81-release'Campbell Barton