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-07-31Fix T78600: Crash when transforming doubles with mirroring onGermano Cavalcante
`EDBM_verts_mirror_cache_begin_ex` could do a better work avoiding these duplicates, but this is a separate problem.
2020-07-30Fix ghash return value on 'Correct Face Attributes' with 'Keep Connect'Germano Cavalcante
The result was somewhat unpredictable. This error was recently introduced.
2020-07-29Fix T78826: Move constraint is not fully disabledGermano Cavalcante
Caused by rB45f17e10ec50
2020-07-28Fix bad 'Correct Face Attributes' behavior when extruding facesGermano Cavalcante
A face must have area in order to be possible calculate interpolation weights. The same to the reference UVs. But the new faces created with the extrude operator, have no area (before moving). The solution was to get the loop data from some neighbor face. Differential Revision: https://developer.blender.org/D8278
2020-07-28Transform: Correct Face Attributes: Option to merge attributesGermano Cavalcante
Keeping face attributes connected is now optional. Keeping UV's connected is useful for organic modeling, but bad for architectural. Differential Revision: https://developer.blender.org/D8360
2020-07-24Cleanup: Rename 'isect_ray_seg_v3' to 'isect_ray_line_v3'Germano Cavalcante
The name was misleading as it returns true whenever it intersects the line represented by the points.
2020-07-22UI: use term 'Vertex' instead of 'Vert'Yevgeny Makarov
2020-07-21Cleanup: move 'int i' declarationGermano Cavalcante
It is preferable that the value used for interators is defined close to where it is used.
2020-07-21Fix T79112: Redo shrink/fatten uses negative valuesCampbell Barton
The numbers in the redo panel were negated compared to the value entered while transforming.
2020-07-21Cleanup: spellingCampbell Barton
2020-07-21UV: remove selection threshold for nearby coordinatesCampbell Barton
Internally UV selection considered close UV's to be connected. While this could be convenient in some cases, it complicates logic for more advanced selection operations that need to check when UV's should be considered part of the same vertex since simple threshold checks would give different results depending on the order of UV's tested. Users must now run "Merge by Distance" instead of relying on this selection threshold.
2020-07-20T77086 Animation: Passing Dependency Graph to DriversSybren A. Stüvel
Custom driver functions need access to the dependency graph that is triggering the evaluation of the driver. This patch passes the dependency graph pointer through all the animation-related calls. Instead of passing the evaluation time to functions, the code now passes an `AnimationEvalContext` pointer: ``` typedef struct AnimationEvalContext { struct Depsgraph *const depsgraph; const float eval_time; } AnimationEvalContext; ``` These structs are read-only, meaning that the code cannot change the evaluation time. Note that the `depsgraph` pointer itself is const, but it points to a non-const depsgraph. FCurves and Drivers can be evaluated at a different time than the current scene time, for example when evaluating NLA strips. This means that, even though the current time is stored in the dependency graph, we need an explicit evaluation time. There are two functions that allow creation of `AnimationEvalContext` objects: - `BKE_animsys_eval_context_construct(Depsgraph *depsgraph, float eval_time)`, which creates a new context object from scratch, and - `BKE_animsys_eval_context_construct_at(AnimationEvalContext *anim_eval_context, float eval_time)`, which can be used to create a `AnimationEvalContext` with the same depsgraph, but at a different time. This makes it possible to later add fields without changing any of the code that just want to change the eval time. This also provides a fix for T75553, although it does require a change to the custom driver function. The driver should call `custom_function(depsgraph)`, and the function should use that depsgraph instead of information from `bpy.context`. Reviewed By: brecht, sergey Differential Revision: https://developer.blender.org/D8047
2020-07-17Transform: use GHASH_ITER when restoring customdataGermano Cavalcante
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-15Cleanup: spellingCampbell Barton
2020-07-14Fix T78875: Numerical display of delta of translation is not updating in 3d viewGermano Cavalcante
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-14Fix T78900: Single vertex sliding crashesGermano Cavalcante
As we can see in `initVertSlide_ex`, `sld` can be `NULL`. `sld` is dereferenced, but can still be `NULL`.
2020-07-13Cleanup: silence warningsGermano Cavalcante
2020-07-13Optimization: Use dedicated function to restore customdataGermano Cavalcante
Called when canceling a transform operation.
2020-07-13Cleanup: move unchanged condition out of loopGermano Cavalcante
2020-07-13Clang Tidy: enable readability-non-const-parameter warningJacques Lucke
Clang Tidy reported a couple of false positives. I disabled those `NOLINTNEXTLINE`. Differential Revision: https://developer.blender.org/D8199
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-03Fix T78570: Vert/Edge slide doesn't adjust UVsGermano Cavalcante
2020-07-01Fix alignment test when snap to edge while in vert or edge slideGermano Cavalcante
2020-07-01Revert "Fix alignment test when snap to edge while in constraint"Germano Cavalcante
This reverts commit e16972389e728eeaf5043bb3cbd85fb7312a6463.
2020-07-01Fix alignment test when snap to edge while in constraintGermano Cavalcante
2020-07-01Fix T78494: Edge slide crashesCampbell Barton
Introduced in recent commit 9c29803255e09.
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-07-01Cleanup: spellingCampbell Barton
2020-06-30Fix T76480 UI: Proportional Editing Color too Shallow on 2.9aClément Foucault
This changes the drawing by drawing 2 circles with different intensity to avoid any readability issues. This removes the need for Logic OP which is implementation dependent.
2020-06-30Transform: Reduce the alpha in the Edge Slide drawingGermano Cavalcante
It was very intense and could be confused with the `Even` option.
2020-06-30Transform: Add constraint intersection supportGermano Cavalcante
Snap to faces and edges is now enhanced in the Edge Slide. It works in the same way that it already works in the Vert Slide. Basically it now snaps to the intersection of the slid edge with the face plane or the edge line.
2020-06-30Cleanup: spellingCampbell Barton
2020-06-29Transform: Draw edge considered in the slide valueGermano Cavalcante
Useful for identifying how the value is used and which edge is considered in the snap.
2020-06-29Fix T77946: Problem snapping with "Project onto Self" on a curve with ↵Germano Cavalcante
generated geometry
2020-06-29Cleanup: reduce code indentation and simplify some code flowGermano Cavalcante
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-27Docs: correct invalid doxygen params & referencesCampbell Barton
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-26Fix T78304: Scaling without a constraint axis shows wrong parameters in ↵Germano Cavalcante
Adjust Last operator panel Caused by {rB600fd1c6f0ed}
2020-06-26Fix T78151: Vertex/Edge Slide after enabling 'Even' doesn't cancel properlyGermano Cavalcante
Problem introduced by rBcf42721f
2020-06-24Cleanup: clang-formatCampbell Barton
2020-06-23Snapping: Snap to the origin of Light and Camera objectsGermano Cavalcante
I see no reason to ignore them. This is not a limitation.
2020-06-23Fix camera snapping in camera ViewGermano Cavalcante
The `T_CAMERA` flag was being set in the wrong place.
2020-06-23Cleanup: unused argumentCampbell Barton
2020-06-23Fix T78045: CTL-ALT-S does nothing in pose mode and crashes when called from ↵Germano Cavalcante
the menu
2020-06-22Trasnform: Support for other snapping types on Edge SlideGermano Cavalcante
This completes T66426. Since Vert Slide supports these other snapping types (since rBe2fc9a88bc), it would be easy to miss this on Edge Slide. So add support for Edge Slide too.