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-05-27Fix incorrect BLI_snprintf usageCampbell Barton
Event though in practice this wasn't causing problems as the fixed size buffers are generally large enough not to truncate text. Using the result from `snprint` or `BLI_snprintf` to step over a fixed size buffer allows for buffer overruns as the returned value is the size needed to copy the entire string, not the number of bytes copied. Building strings using this convention with multiple calls: ofs += BLI_snprintf(str + ofs, str_len_max - ofs); .. caused the size argument to become negative, wrapping it to a large value when cast to the unsigned argument.
2021-03-18Cleanup: spellingCampbell Barton
2021-02-05Cleanup: correct spelling in commentsCampbell Barton
2020-10-27Cleanup: use over-line for doxy commentsCampbell Barton
Follow our code style for doxygen sections.
2020-10-08Cleanup: Simplify use of 'Snapping Gears'Germano Cavalcante
This commit removes `t->snap[0]` and `t->snap_spatial[0]`. They were not actually being used, and could add overhead for transformation without snap.
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-08-31Cleanup/Refactor: Split the snap to increments codeGermano Cavalcante
Now we have a better distinction of what is snap to grid and what is snap to increments. The code also allows the implementation of mixed snap for these modes.
2020-08-20GPUState: Use explicit depth test enumClément Foucault
2020-08-18Cleanup: GPUState: remove double GPU_blend callsClément Foucault
2020-08-18GPUState: GPU_blend final API renamingClément Foucault
We now use GPU_blend for enabling / disabling blending and explicitly set the blend equation.
2020-08-18Cleanup: GPUState: Replace blend func separate by enumClément Foucault
2020-08-07Cleanup: declare arrays arrays where possibleCampbell Barton
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-01Fix alignment test when snap to edge while in vert or edge slideGermano 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-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-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-26Fix T78151: Vertex/Edge Slide after enabling 'Even' doesn't cancel properlyGermano Cavalcante
Problem introduced by rBcf42721f
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.
2020-06-22Fix initialization of Edge Slide with Single SideGermano Cavalcante
It was not being initialized. Error introduced in cf42721fe28f
2020-06-15Cleanup: Rearrange Vert and Edge slide functionsGermano Cavalcante
And make `trans_mesh_customdata_correction` a more generic utility.
2020-06-09Cleanup: Silence some overflow warnings in transform codeGermano Cavalcante
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-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-02-16Cleanup: Transform: Rearrange definitions and declarationsmano-wii
2020-02-14Cleanup: Split transform.c in multiple filesmano-wii
Differential Revision: https://developer.blender.org/D5819