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-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
2019-07-17Fix T67001: Studio and Flat lightning in single color do not respect ↵mano-wii
clipping region `DRW_STATE_CLIP_PLANES` has to be enabled independent of the workbench material. Reviewers: fclem, jbakker Differential Revision: https://developer.blender.org/D5278
2019-07-15Fix T66983 Wireframe Display in edit mode edges missing when overlays are ↵Clément Foucault
disabled
2019-07-15Fix T66707 Modifying bone's 'Custom Object' reference shape causes blender ↵Clément Foucault
to crash This was caused by an instancing batch not being initialized correctly.
2019-07-15Fix T66774 Lookdev: Assert switching from rendered to lookdevClément Foucault
The View was being reused accross different redraw (not allowed).
2019-07-15Fix T66860 Crash on opening .blend file from 2.79Clément Foucault
This was caused by the preview render of the material property panel being 1px wide. The computed half buffers width were rounded to 0.
2019-07-12Fix T66773: Active edit-bone isn't updatingCampbell Barton
2019-07-12Cleanup: use `_orig` as a suffixCampbell Barton
2019-07-12UI: increase contrast for active boneCampbell Barton
Follow up for T66747 fix, active color didn't contrast enough.
2019-07-10Fix T66654: wireframe overlay crash in vertex paint in some casesJeroen Bakker
Differential Revision: https://developer.blender.org/D5218
2019-07-10Fix T61770 Multiple Hair Systems Not visible while in particle edit modeClément Foucault
The check was for the whole object instead of individual particle system.
2019-07-10Fix T65850 Sculpt: Vertices not hidden if using shape keysClément Foucault
2019-07-10DrawManager: Crash Face SelectionJeroen Bakker
Init the scene of the draw context when selecting. When using face dot selection on when the subsurf modifier is active on the cage, the scene needs to be valid. It is read from the context in the `DRW_mesh_batch_cache_create_requested` and used in the `isDisabled` method of the SubSurfModifier. Reviewers: fclem, sergey Differential Revision: https://developer.blender.org/D5214
2019-07-09Fix T62580 Workbench: Shadow glitch due to degenerate thresholdClément Foucault
Fix by adding a threshold instead of direct null comparison.
2019-07-09Eevee: Fix first sample being accumulated without SSRClément Foucault
We check if the previous iteration (sample) was using a valid double buffer. If it wasn't, we request another iteration. This fix the issue for viewport,viewport render and image render. Related to T65761 Eevee render inconsistency between 3D View, Viewport render, and F12 Render
2019-07-09Fix T65761 Eevee: SSRefraction not working on first sampleClément Foucault
There is no reason to disable the refraction on the first sample like SSR does. This was caussing issues when rendering.
2019-07-09Fix T66516: WPaint crash selecting bone with wire & face-maskCampbell Barton
2019-07-08Revert "Revert "Fix T63447 Particle system: No particles after switching ↵mano-wii
from hair to ..."" This reverts commit 45761e4c7cbbed2141afc97fb20b2bf26ce19ac2.