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-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-20Nodes: add geometry socket typeJacques Lucke
We still have to pick a color for this socket. Ref T81848.
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
2020-10-19Spelling: Then Versus ThanHarley Acheson
Corrects incorrect usages of the words 'then' and 'than'. Differential Revision: https://developer.blender.org/D9246 Reviewed by Campbell Barton
2020-10-19Spelling: It's Versus ItsHarley Acheson
Corrects incorrect usage of contraction for 'it is', when possessive 'its' was required. Differential Revision: https://developer.blender.org/D9250 Reviewed by Campbell Barton
2020-10-19Fix use of uninitialized variableHans Goudey
2020-10-19Cleanup: Use BLI string functionsHans Goudey
It's better not to assume that strings passed as arguments will have the proper size.
2020-10-19Cleanup: Missing parentheses around macro in versioningJulian Eisel
Although the `ELEM` macro wraps logic into parentheses, it's not intended to be used that way. Unexpanded macros should still follow regular coding style for readability and for tools parsing the code (it confused clang-format for example).
2020-10-19Fix T81484: Weight/Vertex paint with mirror and viewport clipping does not ↵Philipp Oeser
update stroke on initial side Issue introduced in rB4f616c93f7cb. Issue here is that the the `StrokeCache` `mirror_symmetry_pass` is still in its previous state when entering `wpaint_do_symmetrical_brush_actions`. For the initial stroke this means that the (wrong) cache `mirror_symmetry_pass` ends up in SculptBrushTest `mirror_symmetry_pass` as well and thus the clipping test in `sculpt_brush_test_clipping` will fail. [ This one flips the coords to test against clipping according to (now wrong) `mirror_symmetry_pass` ] Solution seems simple: just ensure we start of with a `mirror_symmetry_pass` of zero in `wpaint_do_symmetrical_brush_actions` for the initial stroke. Same thing is done for vertex paint as well. Maniphest Tasks: T81484 Differential Revision: https://developer.blender.org/D9268
2020-10-19Silence an unused variable warning in bmesh_bevel.c.Howard Trickey
2020-10-19Fix (unreported) crash when unlinking a brush from a tool.Bastien Montagne
Cursor drawing code was not checking for potential NULL pointers.
2020-10-19Volumes: new Volume to Mesh modifierJacques Lucke
This modifier is the opposite of the recently added Mesh to Volume modifier. It converts the "surface" of a volume into a mesh. The "surface" is defined by a threshold value. All voxels with a density higher than the threshold are considered to be inside the volume, while all others will be outside. By default, the resolution of the generated mesh depends on the voxel size of the volume grid. The resolution can be customized. It should be noted that a lower resolution might not make this modifier faster. This is because we have to downsample the openvdb grid, which isn't a cheap operation. Converting a mesh to a volume and then back to a mesh is possible, but it does require two separate mesh objects for now. Reviewers: brecht Differential Revision: https://developer.blender.org/D9141
2020-10-19Cleanup: clang tidyJacques Lucke
2020-10-19Image: Export emissive colors in 3 channel PNG imagesJeroen Bakker
Related to T81199. When saving a rendered image with transparency (RGBA) to a 3 channel PNG image the emissive colors were not exported. This change adds the emissive colors to the written file. NOTE: this does not fix the limitation of writing emissive colors to a 4 channel PNG file as the file format does not support this.
2020-10-19Fix T81167: Texture Painting with Paint mask enabled, (de)selecting faces ↵Jeroen Bakker
causes a mess with texture slots Issue caused by {9582797d4b50} in b2.90. The surface per material used an index buffer owned by the batch. These index buffers are created at the same time the surface tris index buffer was created. When a material per batch buffer was invalidated it used the surface tris index buffer rendering all materials on all surfaces making the last draw command render succeed. This patch stores the surface tris per material in the cache so they can be reused. There is also no need to use the `saved_elem_ranges` anymore as they are now part of the cache. The ugly bit of the implementation is that in `extract_tris_finish` the MeshBufferCache is retrieved. But as this part was already documented as a hack and it is something that is only used for final meshes. Other solutions would impact performance or made the fix not condensed (passing parameters that shouldn't be used). Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D9136
2020-10-19Fix T68343: Rendered video plays at 600fpsRichard Antalik
Field time_base of video stream must be set for some containers, otherwise avformat_write_header() will set it to default values. Rendered file in such case won't be played at desired frame rate. See init_muxer() in mux.c in ffpmeg sources. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9213
2020-10-19Fix ASAN warning after recent cleanupHans Goudey
rB78a5895c96 introduced a "use after scope" warning, where a buffer from a lower scope was used later. The solution is to only use one variable and store whether to use it more explicitely with a bool.