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-09-01Gizmo: Navigate: Make use of UI_draw_roundbox_4fvClément Foucault
This improves circles AntiAliasing, and line antialiasing. This keeps the old drawing method (3d spheres) for the selection pipeline. This was suggested by @harley on devtalk.
2020-09-01GL: Fix two GLerrorClément Foucault
The gizmo one was only reproducible in debug builds. The GLImmediate one was only affecting amdpro drivers when --debug-gpu was enabled.
2020-08-30GPUFrameBuffer: Use debug name supportClément Foucault
This is to make it easier to navigate captures in renderdoc.
2020-08-28Merge branch 'blender-v2.90-release'Philipp Oeser
2020-08-28Fix T80182: Curve [Edit Mode] : Can't Deselect Control Point with Select BoxPhilipp Oeser
Caused by rB49f59092e7c8: Curves: Implement Handles for selected points only Changes from deselecting all were not considered as changes anymore. Maniphest Tasks: T80182 Differential Revision: https://developer.blender.org/D8744
2020-08-23Cleanup: GPU: Use explicit clear value in GPU_clear* commandsClément Foucault
This replace `GPU_clear()` by `GPU_clear_color()` and `GPU_clear_depth()`. Since we always set the clear value before clearing, it is unecessary to track the clear color state. Moreover, it makes it clearer what we clear the framebuffer to.
2020-08-20GPUState: Use explicit depth test enumClément Foucault
2020-08-20Cleanup: Remove unused variables for horizontal panelsHans Goudey
Continuing the work of eb9055a572c3, remove remaining unecessary variables and arguments that were related tabbing and horizontal alignment of panels. For example, "vertical" was always true, and removing that exposed other unused variables.
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-18Cleanup: use view-zoom enum typeCampbell Barton
2020-08-18Merge branch 'blender-v2.90-release' into masterCampbell Barton
2020-08-18Fix T79787: orbit/zoom sensitivity depends on line-widthCampbell Barton
Use 'dpi_fac' instead of 'pixelsize' to scale input sensitivity based on the interface scale. Also use dpi_fac for view zoom operator. Thanks to @ISS for investigating.
2020-08-14Merge branch 'blender-v2.90-release'Julian Eisel
2020-08-14Fix constant lighting change in VR view when rotating headJulian Eisel
We have to explicitly enable fixed world space lighting. This was in fact already done, but overridden by the code to sync the 3D View shading settings to the VR view.
2020-08-13Cleanup: GPU: Remove Batch vao cache resetClément Foucault
This is done at drawtime automatically.
2020-08-13GPUBatch: Remove most use of GPU_batch_draw_advanced()Clément Foucault
This is in order to better encapsulate / isolate the drawing code.
2020-08-13GPUShader: Change shader state tracking to be part of the GPUContextClément Foucault
This remove the use of batch->program and replace it with batch->shader. This will allow GL abstraction latter.
2020-08-07Cleanup: pass arrays const where possibleCampbell Barton
2020-08-07Cleanup: declare arrays arrays where possibleCampbell Barton
2020-08-07Merge branch 'blender-v2.90-release' into masterJacques Lucke
2020-08-07Code Style: use "#pragma once" in source directoryJacques Lucke
This replaces header include guards with `#pragma once`. A couple of include guards are not removed yet (e.g. `__RNA_TYPES_H__`), because they are used in other places. This patch has been generated by P1561 followed by `make format`. Differential Revision: https://developer.blender.org/D8466
2020-08-06Merge branch 'blender-v2.90-release' into masterCampbell Barton
2020-08-06Fix T79309: Safe Areas are not visibleCampbell Barton
2020-08-04Sculpt: Split Box Mask into its own operatorPablo Dobarro
Box mask is not a selection, so it should not be part of the select operator. This allows to add more sculpt mode specific functionality and properties and to share more code with the lasso mask operator in a later refactor. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8456
2020-08-04Refactor: rename SpaceType->new to SpaceType->createJacques Lucke
The data member `new` was conflicting with the `new` keyword when `BKE_screen.h` was included in C++ files. Reviewers: sergey Differential Revision: https://developer.blender.org/D8459
2020-08-04Merge branch 'blender-v2.90-release' into masterCampbell Barton
2020-08-04Fix T79503: Selecting edit-bones while holding Ctrl crashesCampbell Barton
2020-08-03Cleanup: Avoid double operator name lookupHans Goudey
2020-08-02Merge branch 'blender-v2.90-release' into masterCampbell Barton
2020-08-02Fix T78691: Fly/Walk navigation ignores object channel locksCampbell Barton
2020-08-02Cleanup: pass const matricesCampbell Barton
Also order return matrices last.
2020-08-02Cleanup: pass const matricesCampbell Barton
Also order return matrices last.
2020-07-30Cleanup: GPU: Remove GPU_draw.h and move fluid gpu function to DRWClément Foucault
2020-07-30Cleanup: Split gpu_texture_image.c into BKE and IMB modulesClément Foucault
This is in order to disolve GPU_draw.h into more meaningful code blocks. All the Image related function are in `image_gpu.c`. All the MovieClip related function are in `movieclip.c`. The IMB module now has a connection with GPU. This is not strickly necessary and the code could be move to `image_gpu.c` if needed. The Image garbage collection is also ported to `image_gpu.c`.
2020-07-27UI: Show message in transform panel when no metaball elements are selectedAaron Carlisle
The complete lack of a transform panel was confusing enough to spawn this question: https://blender.stackexchange.com/q/169074/599 Displaying a message instead of nothing is more consistent with the behavior of the mesh transform panel anyway. Reviewed By: Blendify Differential Revision: https://developer.blender.org/D8390
2020-07-26Cleanup: GPU: Remove GPU_glew.h outside of GPU moduleClément Foucault
Remove use of GL* constants and types inside the codebase. There is still a few occurence to get rid of.
2020-07-22Object: add-object option to place on the surface normalCampbell Barton
Optionally use the surface normal under the mouse cursor.
2020-07-20Fix T79077: Off-screen rendering ignores shading argumentCampbell Barton
Thumbnails used the 3D view shading mode when a camera wasn't used.
2020-07-18Cleanup: GPU: Encapsulate clipDistancesClément Foucault
This also remove some non functionnal state changes that were left from legacy code.
2020-07-18Cleanup: GPU: Encapsulate glFrontFaceClément Foucault
2020-07-18Cleanup: View3D: Encapsulate OpenGL callsClément Foucault
Removes GL_DEPTH_RANGE query as it is not changed anywhere.
2020-07-18Cleanup: GPU: rename bglPolygonOffset to GPU_polygon_offsetClément Foucault
And move it to GPU module.
2020-07-16Cleanup: GPU: Move depth/color masks functions to GPU_stateClément Foucault
2020-07-16Fix T78966: Center cursor doesn't refresh the UICampbell Barton
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-10Cleanup: spellingCampbell Barton
2020-07-07Cleanup: spellingCampbell Barton
2020-07-06Fix T77730: ShaderFx Missing Update NotifierHans Goudey
This adds a notification type for shaderfx so the properties editor can be properly notified to redraw. Another possible solution would be to also redraw the shaderfx tab with a ND_MODIFIER update, but this solution allows us to avoid some unecessary redraws too. There were no existing cases of ND_OBJECT | NC_MODIFIER updates, so those cases were removed from buttons_area_listener. Differential Revision: https://developer.blender.org/D8159