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
path: root/source
AgeCommit message (Collapse)Author
2020-10-21Cleanup: Clang-tidy readability-redundant-string-initAnkit Meel
No functional change.
2020-10-21Cleanup: early return from animation step, reduce indentation levelCampbell Barton
2020-10-21DrawManager: Adding Custom Render PassesJeroen Bakker
Currently render passes in the draw manager (eevee) must be predefined in the render result. This patch would ask the render engine for the render passes it needs, and create these as a preparation step during rendering. This allows any draw engine to define more complex render passes setup. Render passes can only be added before the call to `RE_engine_begin_result`. `RE_engine_begin_result` makes a full copy of the render passes. During rendering the render engines renders to the duplicated passes. `RE_engine_end_result` syncs the data back to the original render passes, but only if the passes existed in the original render result. Currently we work-around this issue by registering the passes in `render_result_new`. This is legacy blender internal structure and should be avoided. With upcoming projects (AOV/Cryptomatte) it becomes a bit of a mess as we are extending legacy code to support new features. This patch allows us to let each draw engine register their own render passes at render time (similar to cycles and other render engines). In the future we could get rid of legacy render passes registration in render_result_new. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D9088
2020-10-21Fix T81079: Switch object ignoring visibility settingsPablo Dobarro
Replace ED_transform_snap_object_context_create with ED_view3d_give_base_under_cursor & ED_view3d_autodist_simple so object visibility is respected and non-geometry objects can be supported. Ref D9255
2020-10-21Fix for T81757: Incorrect Overlay Line HeightHarley Acheson
Fixes error in determining 3DView Overlay Line Height. Do not base on current default font height. Differential Revision: https://developer.blender.org/D9288 Reviewed by Campbell Barton
2020-10-21Cleanup: simplify lasso transform from 17cb2a6da0c88Campbell Barton
Access as 2D array, loop forwards over the pointer since it's more common and simpler to read.
2020-10-21Cleanup: avoid error prone nested switch statements (missing break)Campbell Barton
17cb2a6da0c88 missed a break statement after a nested switch, while it didn't cause a bug nesting switch doesn't read well and is prone to errors like this. Split modal-keymap checks into their own branch to avoid this happening, also use matching event checks for all gesture operators.
2020-10-21Fluid: Added obstacle fluid distance parameterSebastián Barschkis
Being able to adjust the distance between fluid and obstacles comes in handy when trying to achieve a fluid motion over inclined obstacles. Depending on the slope of such obstacles, already small adjustments of this value can help when particles stick to obstacle surfaces (i.e. make particles not stick to obstacles).
2020-10-20UI: Add angle snapping to line gesture toolsPablo Dobarro
This adds support for snapping for line gesture tool. It is implemented in the modal keymap as Snap, which is a toggle (similar to how snapping in the transform operator works). Right now it snaps the angle of the line to 15 degree increments, which is defined in code. This should be easy to expose in the UI in the future if we need to. Reviewed By: Severin Differential Revision: https://developer.blender.org/D9115
2020-10-20Fix error in the last commitPablo Dobarro
I accidentally commited a file without saving it
2020-10-20UI: Move gesture selection with spacebarPablo Dobarro
This patch adds a modal key to move the selection box/lasso/line while drawing it. It also sets "repeat": False on the animation playback key to prevent accidental playback if the spacebar is released after the mouse button. Reviewed By: #user_interface, pablovazquez, Severin Differential Revision: https://developer.blender.org/D9227
2020-10-20EEVEE: Screen Space Reflection: Improve self intersection cases.Clément Foucault
This patch fix most self intersection comming from reflection rays. We regenerate the ray if it goes below the shading normal (should be the geometric normal but we have no access to it here). Also add the same precision based bias we use for contact shadows. This fix T81105 Eevee SSR quality regression in 2.91 alpha
2020-10-20EEVEE: Screen Space Reflection: Fix undefined behavior with invalid LODClément Foucault
Some issues happened because the lod can become negative in some cases. Also avoid sampling LOD with interpolation (floor).
2020-10-20Fix sculpt pen tilt support changing the brush strengthPablo Dobarro
SCULPT_tilt_apply_to_normal expects a normal, and offset was already scaled by radius. The funcion returns a normalized vector, so the strength of the brush was changed. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9275
2020-10-20Cleanup: Clang-tidy -readability-inconsistent-declaration-parameter-nameAnkit Meel
Changes in source/blender/makesrna only. No functional change.
2020-10-20Cleanup: Clang-tidy bugprone-redundant-branch-conditionAnkit Meel
No functional change.
2020-10-20Cleanup: makesrna, Clang-tidy else-after-return-fixes.Ankit Meel
It got left out of {rBc04088fed1b8faea6b2928bb5e09ab3}. No functional change.
2020-10-20Cleanup: Clang-tidy silence readability-non-const-parameterAnkit Meel
This is a false alarm, `getFileSystemRepresentation` changes the return value argument. So used `NOLINTNEXTLINE`.
2020-10-20UI:Add icon for Displacement Eraser brushRahul Chaudhary
This patch adds icons for the multires displacement eraser tool in sculpt mode Reviewed By: HooglyBoogly Differential Revision: https://developer.blender.org/D9286
2020-10-20UI: Add icons for line genture toolsRahul Chaudhary
This patch adds icons for line gesture tools Line mask and line project Reviewed By: HooglyBoogly Differential Revision: https://developer.blender.org/D9285
2020-10-20UI: Add icon for boundary brushRahul Chaudhary
This patch adds icon for the boundary brush in sculpt mode Reviewed By: HooglyBoogly Differential Revision: https://developer.blender.org/D9284
2020-10-20Ocean Modifier: allow spray maps to be bakedHans Goudey
In comments made by a tester on rB17b89f6dacba007bf, it seems that baking of the spray maps would be useful. This commit adds that capability. Both the spray map and its inverse are baked out in this change, for maximum convenience and to avoid assuming what the user wants. Differential Revision: https://developer.blender.org/D8470
2020-10-20Cleanup: warning on windowsJacques Lucke
2020-10-20UV/Image: Remove Legacy DrawingJeroen Bakker
With D8234 a new drawing method for UV/Image editor was introduced. For debugging reasons we left the old drawing method in the code base. This patch will remove the old drawing method. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D9011
2020-10-20Fix T81865, T81860: CustomData Correction can fail on non standard namesPhilipp Oeser
Caused by rBaafd71a8a160. In the process of CustomData Correction, we need to make sure we also have matching layer names [as was done before above commit], otherwise this will create layers with default names, applying (mesh_customdatacorrect_apply and friends) will fail then. Maniphest Tasks: T81865 Differential Revision: https://developer.blender.org/D9278
2020-10-20Cleanup: remove dead codeJacques Lucke
2020-10-20EEVEE: ShaderToRGB alpha inversedJeroen Bakker
The alpha out socket output the average transmittance, not the alpha. This patch will convert the transmittance to alpha. Found during research of T80919; Issue introduced when `Closure.opacity` was migrated to `Closure.transmittance`. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D9010
2020-10-20Volumes: Fix compilation when building without openVDBClément Foucault
And remove a warning.
2020-10-20GLTexture: Fix Anisotropic filtering affecting the standard mipmap samplersClément Foucault
Everything's in the title...
2020-10-20DRW: Disable anisotropic filtering on utility texturesClément Foucault
Anisotropic filter may result in incorrect algorithm. This only affects util textures (not Image datablocks gpu textures).
2020-10-20Fix compile errorJacques Lucke
Haven't tested on windows, hope that works.
2020-10-20Fluid: Add missing versioning for new options in 'Viewport Display' panelSebastián Barschkis
Files created before D8705 was merged need to get initial values for the new viewport display fields.
2020-10-20Fix T81076: Crash on switch object operator undoPablo Dobarro
This fixes the crash and the assert, but undo is done in multiple steps Reviewed By: campbellbarton Maniphest Tasks: T81076 Differential Revision: https://developer.blender.org/D9256
2020-10-20Cleanup: General comment style clean up of graph_edit.c and fcurve.cSebastian Parborg
No functional changes. Reviewed By: Sybren A. Stüvel Differential Revision: http://developer.blender.org/D7850
2020-10-20Fix T81776: Sculpt line gestures not working with transformed objectsPablo Dobarro
The line gesture plane should be in object space, not in world space.
2020-10-20Simulation: remove particle nodes with outdated designJacques Lucke
The design for how we approach the "Everything Nodes" project has changed. We will focus on a different part of the project initially. While future me will likely refer back to some of the code I remove here, there is no point in keeping this code around in master currently. It would just confuse other developers working on the project. This does not remove the simulation modifier and data block. Those are just cleaned up, so that the boilerplate code can be reused in the future.
2020-10-20Volumes: simplify volumes in modifiers or on loadJacques Lucke
This changes how the simplify volumes setting works. Before, it only affeted viewport rendering. This was an issue, because all internal computations would still have to happen on the high resolution volumes. With this patch, the simplify setting already affects file loading and procedural generation of volumes. Rendering does not have to care about the simplify option anymore, it just gets the correct simplified version from the depsgraph. Reviewers: brecht Differential Revision: https://developer.blender.org/D9176
2020-10-20Fix T81684: node location not handled correctlyJacques Lucke
Reviewers: ISS Differential Revision: https://developer.blender.org/D9236
2020-10-20Fix T81190: Merge by Distance marks edges sharpCampbell Barton
Make calculating edges sharp optional since it marks nearly all edges sharp when the normals have been manually rotated.
2020-10-20Cleanup: use BLI_listbase_is_single instead of countingCampbell Barton
2020-10-20Fix Boundary brush not working when the whole mesh is inside the brush radiusPablo Dobarro
When creating the boundary edit data, the loop can stop because a new vertex was found further from the boundary than the brush radius or because all vertices of the mesh were already processed. In this second case, the max_propagation_step was not set, so the code that laters calculates the falloff was not working, preventing the mesh from deforming. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9215
2020-10-20Sculpt: Smooth deform type for Boundary BrushPablo Dobarro
This adds a smooth deformation type to the boundary brush, which smooths the boundary and has a regular falloff towards the inside of the mesh. For smoothing, only vertices parallel to the boundary are taken into account, creating this effect. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9204
2020-10-20Fix missing Sculpt Overlays updates when using modifiersPablo Dobarro
Now that sculpt mask and face sets can also be drawn without using the PBVH, these operators need these extra updates when the data changes. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8956
2020-10-20Sculpt: Reduce the displacement step in the cloth solverPablo Dobarro
Previously the base displacement for solving the constraints was always using 0.5, which may introduce artifacts when multiple constraints of different types are computed for the same vertex. This introduces a factor that reduces the base displacement of the solver, reducing the artifacts. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9202
2020-10-20UI: Sort "Volume to Mesh" and "Mesh to Volume" in alphabetical orderPablo Vazquez
2020-10-19Fluid: Added domain check for new OpenVDB precision 'Mini' typeSebastián Barschkis
Precision 'Mini' should only be available for liquids domains.
2020-10-19UI: Simplified Categorized MenusHarley Acheson
Menus with categories gain a dividing line and omit the title. Differential Revision: https://developer.blender.org/D5135 Reviewed by Brecht Van Lommel
2020-10-19Spelling: Apart Versus A PartHarley Acheson
Corrects incorrect usages of the fragment 'apart of' when 'a part of' was required. Differential Revision: https://developer.blender.org/D9245 Reviewed by Campbell Barton
2020-10-19Spelling: Loose Versus LoseHarley Acheson
Corrects incorrect usages of the word 'loose' when 'lose' was required. Differential Revision: https://developer.blender.org/D9243 Reviewed by Campbell Barton
2020-10-19Spelling: MiscellaneousHarley Acheson
Corrects 34 miscellaneous misspelled words. Differential Revision: https://developer.blender.org/D9248 Reviewed by Campbell Barton