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
2019-08-14Eevee: Add support for the holdout nodeClément Foucault
Support should be full when using Alpha Blend mode and partial if using any other blend mode (opaque / alpha clip / alpha hashed).
2019-08-14Eevee: Remove Additive & Multiply Blend modeClément Foucault
This commit also provide a compatibility code that will convert old materials using Additive or Multiply Blend mode to their node equivalent. This conversion is only done on outputs that are enabled for eevee.
2019-08-14Eevee: Improve Transparent BSDF behaviorClément Foucault
Alpha blended Transparency is now using dual source blending making it fully compatible with cycles Transparent BSDF. Multiply and additive blend mode can be achieved using some nodes and are going to be removed.
2019-08-12Cleanup: rename `BaseOffset` to `ObjectOffsets`mano-wii
2019-08-12Cleanup: DRW manager: Move `select_buffer.c` utilities out of the selection ↵mano-wii
engine internals
2019-08-09GPencil: Add "Self Overlap" parameter to materials to disable StencilAntonioya
This parameter was removed in 2.80 and we decided to back again, but now is inverted.
2019-08-08Fix T67587: Fix Drawing in Wireframe Non X-Ray ModeJeroen Bakker
When using Vertex or Weight paint mode on a wireframe the overlay was blended with the background. In this case we now use alpha blending. Reviewed By: fclem Differential Revision: https://developer.blender.org/D5340
2019-08-08Fix T67638: Stretched Camera Background ImagesJeroen Bakker
The matrices that projects background images in the 3d view were incorrect. The root cause was that the coordinate systems were not respected, that was most noticeable when rotating a stretched image. We re-validated conversions of coordinate spaces (UV -> Image -> Camera -> Window) and made sure that the rotation is done in image space. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D5431
2019-08-07Fix unassigned return argument in recent select refactorCampbell Barton
2019-08-07Edit Mesh Selection: Move ED_view3d_select_ functions to bf_drawmano-wii
It is easier to deal with private values of the DRW_select engine and gives room for improvement. Reviewers: campbellbarton, fclem Differential Revision: https://developer.blender.org/D5415
2019-08-07Select utils refactor: remove lagacy `ED_view3d_select_id_read_rect`mano-wii
`ED_view3d_select_id_read_rect` serves only as a bridge to `DRW_framebuffer_select_id_read`. Keeping these codes similar only increases the complexity of some functions. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D5415
2019-08-06Fix not reported: Face selection sometimes does not work in weight, paint ↵mano-wii
and texture mode.
2019-08-06DrawManager: Fixed Assertion In WorkbenchJeroen Bakker
2019-08-06Cleanup: redundant const usageCampbell Barton
2019-08-06Fix T66100: WorkBench Banding IssuesJeroen Bakker
Color banding issues can appear, as result of the 8 bitdepth RGBA that is used in the viewport. This change will use `GPU_RGBA16F` for final renderings and for drawing textures. This allows displaying HDRI textures. Vertex Colors uses `GPU_RGBA16` to resolve color banding issues. All other modes use `GPU_RGBA8` to reduce bandwidth and gpu memory. Reviewed By: fclem, brecht Differential Revision: https://developer.blender.org/D5179
2019-08-06DrawManager: Fix Camera Images Interfere During SelectionJeroen Bakker
When drawing the selection buffer the camera images were drawn. This resulted in unneeded extra clicking for the user. This change will ignore camera images during the selection. Reviewed By: fclem Differential Revision: https://developer.blender.org/D5276
2019-08-05Cleanup: use unsigned char for theme colorsCampbell Barton
Nearly all byte-color functions use 'uchar' causing casts when then colors were passed in. Declare as uchar to remove the need for casts.
2019-08-05Fix T67259 : Auto depth not working with multires in sculpt modemano-wii
Basically the solution is to call `DRW_shgroup_call_sculpt` when `BKE_sculptsession_use_pbvh_draw(...)` is true. Ref T67259 Reviewers: fclem, jbakker, brecht Reviewed By: fclem, brecht Maniphest Tasks: T67259 Differential Revision: https://developer.blender.org/D5396
2019-08-04Cleanup: Fix eeve_lut arrays being duplicated in blender binary.Lazydodo
Both eevee_materials.c and workbench_deferred.c include eeve_lut.h which has its arrays marked as static leading to the blue_noise array being embedded into our binary twice. This change takes the arrays out of the header and properly marks them as const since they are lookup tables and should not be written to. Reviewers: fclem, brecht Differential Revision: https://developer.blender.org/D5346
2019-08-02DRW: Select Engine: Create DRWPass only when context requests itmano-wii
2019-08-02DRW: Select Engine: Set uniform only once per ShadowGroupmano-wii
2019-08-02Cleanup: clang-format, also typo fix.Campbell Barton
2019-08-02Fix unreported: Selection of mesh_cage element occluded by the mesh_cage itself.mano-wii
The right thing is to be occluded by the visible mesh (in the case with modifiers).
2019-08-02DRW: Select Engine: Add a utility to detect `select_node`mano-wii
2019-08-02DRW: Select Engine: Use specified offset.mano-wii
Due to current uses, this does not bring functional changes.
2019-08-02DRW: Select Engine: remove unnecessary DRWShadingGroup creationsmano-wii
2019-08-01Cleanup: remove unnecessary includemano-wii
2019-08-01Fix T68055: mesh selection issues, once blend is loaded second time in a ↵mano-wii
Blender session The depth attachment of the framebuffer was missing.
2019-08-01Cleanup: misc spelling fixesCampbell Barton
T68035 by @luzpaz
2019-08-01Cleanup: remove unused membermano-wii
2019-07-31Refactor access to dependency graphSergey Sharybin
This change ensures that operators which needs access to evaluated data first makes sure there is a dependency graph. Other accesses to the dependency graph made it more explicit about whether they just need a valid dependency graph pointer or whether they expect the graph to be already evaluated. This replaces OPTYPE_USE_EVAL_DATA which is now removed. Some general rules about usage of accessors: - Drawing is expected to happen from a fully evaluated dependency graph. There is now a function to access it, which will in the future control that dependency graph is actually evaluated. This check is not yet done because there are some things to be taken care about first: for example, post-update hooks might leave scene in a state where something is still tagged for update. - All operators which needs to access evaluated state must use CTX_data_ensure_evaluated_depsgraph(). This function replaces OPTYPE_USE_EVAL_DATA. The call is generally to be done in the very beginning of the operator, prior other logic (unless this is some comprehensive operator which might or might not need access to an evaluated state). This call is never to be used from a loop. If some utility function requires evaluated state of dependency graph the graph is to be passed as an explicit argument. This way it is clear that no evaluation happens in a loop or something like this. - All cases which needs to know dependency graph pointer, but which doesn't want to actually evaluate it can use old-style function CTX_data_depsgraph_pointer(), assuming that underlying code will ensure dependency graph is evaluated prior to accessing it. - The new functions are replacing OPTYPE_USE_EVAL_DATA, so now it is explicit and local about where dependency graph is being ensured. This commit also contains some fixes of wrong usage of evaluation functions on original objects. Ideally should be split out, but in reality with all the APIs being renamed is quite tricky. Fixes T67454: Blender crash on rapid undo and select Speculation here is that sometimes undo and selection operators are sometimes handled in the same event loop iteration, which leaves non-evaluated dependency graph. Fixes T67973: Crash on Fix Deforms operator Fixes T67902: Crash when undo a loop cut Reviewers: brecht Reviewed By: brecht Subscribers: lichtwerk Maniphest Tasks: T67454 Differential Revision: https://developer.blender.org/D5343
2019-07-31Animation: Remove depsgraph argument from a lot of APISergey Sharybin
Use explicit boolean flag to indicate whether flush to original data is needed or not. Makes it possible to avoid confusion on whether an evaluated or any depsgraph can be passed to the API. Allows to remove depsgraph from bAnimContext as well. Reviewers: brecht Differential Revision: https://developer.blender.org/D5379
2019-07-31Spelling fixes in comments and descriptions, patch by luzpazBrecht Van Lommel
Differential Revision: https://developer.blender.org/D3744
2019-07-31DRW manager: select engine: create generic draw_select_id_meshmano-wii
2019-07-31Cleanup: Rearrange Select Engine into multiple filesmano-wii
2019-07-30DRW manager: select engine: remove redundant callsmano-wii
2019-07-30Fix T65691: GPencil Drawing long strokes turn invisibleAntonioya
There was a fixed limit to the number of points available in a buffer stroke. Now, the array is expanded as needed using a predefined number of points for each expansion, instead to add one by one. This is done to reduce the number of times the memory allocation is required. As part of the fix, some variables have been renamed to reflect better their use.
2019-07-30Fix crash clicking in the 3D view on startupCampbell Barton
Setting the 3D view cursor on startup could crash because the viewport hasn't been assigned to the region.
2019-07-303D View: Move selection API to a Selection engine.mano-wii
This commit moves the API of selecting faces, vertices and edges to a DRW manager engine. Reviewers: campbellbarton, fclem Subscribers: jbakker, brecht Differential Revision: https://developer.blender.org/D5090
2019-07-29Fix T66233: Grease Pencil Swirl Effect not working at originAntonioya
If the control object is in the origin the radius is wrongly calculated because the result is 0. Now, this value is clamped to avoid this situation
2019-07-29GPencil: Use uniform_int_copy instead to pass referenceAntonioya
The constant variable was passed as reference to constant variable, but it's better use the new function to copy values. This could be the problem with T67772
2019-07-24Fix background image rotation and offsetCampbell Barton
- Offset was halved & not compensating for non-square aspect. - Rotation was flipped.
2019-07-24Fix T67548: Camera background-image ignores shiftCampbell Barton
Regression from 2.79
2019-07-23Fix T65386 Eevee: Crash after baking indirect lights or cubemapClément Foucault
I'm not sure this fixes the root of the problem. The file from the ticket seems to have been corrupted in some way. We MIGHT want this in 2.80.
2019-07-23Fix T67299: UV Stretching Overlay of type "Area" fail when any face is hiddenmano-wii
We want to include this for 2.80
2019-07-19Fix T67033 EEVEE: Random Flickering MaterialsClément Foucault
This was a read after free error. This only fix the undefined behavior. The result is still not correct in certain cases (see T67226). We want to include this for 2.80
2019-07-19DRW: lattice vertices were too smallCampbell Barton
2019-07-18Fix T66811 Eevee: Flickering in weight paint modeClément Foucault
This was caused by TAA offset being computed as the 2nd sample even if the sampling was reset afterwards. The fix is to update the matrices after any potential reset.
2019-07-18Fix edit-mode particle vertex draw sizeCampbell Barton
Vertices were hard to see, draw the same size as edit-mesh vertices.
2019-07-18Fix T61117: Selecting an armature doesn't select the boneCampbell Barton
Regression from 2.7x caused by 28dfc47cf0b06