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-08-18Cleanup: GPU: Replace Batch uniform by shader uniform using macroClément Foucault
This is a first step into removing uniforms from GPU_batch and Imm.
2020-08-18BLI_kdopbvh: Adjust epsilon according to the axisGermano Cavalcante
This corrects the overlap detection for cloths since in this case kdop26 is used and epsilon represents the distance.
2020-08-18Depsgraph: simplify DEG_evaluate_* APIJacques Lucke
This mainly removes the bmain argument, which can be retrieved from the graph itself. Also, I removed some outdated/unnecessary comments. Reviewers: sergey, sybren Differential Revision: https://developer.blender.org/D8614
2020-08-18Sculpt: Enable Cloth Simulation Target for Pose and BoundaryPablo Dobarro
This adds a new brush property called "Deformation Target" which controls how the brush deformations is going to affect the mesh data. By default is set to Geometry, which makes the brushes displace the vertices. When set to Cloth Simulation, the deformation of the brush is applied to the cloth solver constraints, so the simulation is responsible to apply the final deformation. This allows to add cloth simulation effects to other sculpt tools with minor modifications to their code. This patch enables Cloth Simulation deformation target for Pose and Boundary brushes, which are tools that are already designed to work in low poly counts and produce large deformations. This allows creating the most common cloth effects, like bending and compressing folds, without relying on collisions. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8578
2020-08-18Sculpt: Erase Displacement Mesh FilterPablo Dobarro
Same concept as the Multires Displacement Eraser Brush but implemented as a mesh Filter. This allows to delete the displacement of an entire area uniformly. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8608
2020-08-18Sculpt: Enhance Details Mesh FilterPablo Dobarro
Exact same operation as D8509, implemented as a Mesh Filter. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8510
2020-08-18Cleanup: Node: Use checker shader for preview backgroundClément Foucault
Removes many drawcalls which might have slowdown the UI.
2020-08-18Sculpt: Invert Smooth to Enhance DetailsPablo Dobarro
This enables the invert mode in the smooth brush as Enhance Details. The operation is similar to the Sharpen Filter intensify details parameter, which consist in applying the laplacian smooth displacement in the opposite direction calculated using the original coordinates. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8509
2020-08-18Merge branch 'blender-v2.90-release'Clément Foucault
# Conflicts: # source/blender/editors/space_node/node_draw.c # source/blender/editors/space_sequencer/sequencer_draw.c
2020-08-18Fix compiler error in MSVSCAntonio Vazquez
Introduced in: rB20a8edaa725ddbae16179d2f7cea88c097c61615 It broke building on windows, initializing a static may not be done with a function in C.
2020-08-18Fix T79714: Projecting texture from camera failsSybren A. Stüvel
The evaluated mesh is now only recomputed when the required data layers are missing. Previously the evaluated mesh was re-evaluated incorrectly, which caused the stippled result and the failing assert. Since now only the evaluated mesh is used, and never a temporary mesh, there is also no more need to keep track of whether the mesh needs freeing or not. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8574
2020-08-18Depsgraph: simplify build APIJacques Lucke
Reviewers: sergey, sybren Differential Revision: https://developer.blender.org/D8611
2020-08-18Fix T77564: VSE (and compositor background) lost stereoscopy previewClément Foucault
Issue introduced on fe045b2b77dc6d7f0b552619fe824b496d34db6c. Since the stereoscopy compositing (anaglyph, ...) is only done for viewports the VSE preview and compositor need to use viewports. Reviewed by: dfelinto Differential Revision: https://developer.blender.org/D8472
2020-08-18Cleanup: remove bmain argument from BKE_scene_graph_update_for_newframeJacques Lucke
Reviewers: sergey Differential Revision: https://developer.blender.org/D8613
2020-08-18Cleanup: remove outdated commentsJacques Lucke
2020-08-18Cleanup: remove TimeSourceNode->cfra which is never readJacques Lucke
2020-08-18Fix T77564: VSE (and compositor background) lost stereoscopy previewClément Foucault
Issue introduced on fe045b2b77dc6d7f0b552619fe824b496d34db6c. Since the stereoscopy compositing (anaglyph, ...) is only done for viewports the VSE preview and compositor need to use viewports. Reviewed by: dfelinto Differential Revision: https://developer.blender.org/D8472
2020-08-18Cleanup: remove unused TimeSourceNode->offsetJacques Lucke
2020-08-18Sculpt: Sculpt Filter Orientation OptionsPablo Dobarro
Previously, the XYZ deform axis of the Mesh Filter were limited to object space (which is the default for sculpt mode). Now it is possible to limit the XYZ displacement in Local, Global or View space. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8582
2020-08-18Fix T79800: Split vertex size for grease pencilAntonio Vazquez
Differential Revision: https://developer.blender.org/D8607
2020-08-18Merge remote-tracking branch 'origin/blender-v2.90-release'Dalai Felinto
2020-08-18Remove (ifdef) RNA for simulation, point cloud and particlesDalai Felinto
For 2.90 release this should not be exposed in the RNA API. In master this needs to be ON by default, that's all. Differential Revision: https://developer.blender.org/D8589
2020-08-18Cleanup: Fix strict compiler warningSergey Sharybin
2020-08-18Merge branch 'blender-v2.90-release'Clément Foucault
2020-08-18No experimental feature (but debug ones) to work for blender beta/releaseDalai Felinto
Final releases (including beta) should strictly show features that are finalized to prevent loss of data, old API clanging around, and the overall quality of the product (Blender) presented. Note that rendering should never be affected by user preferences, so this is only changing things in the UI level. Development note: This is reset experimental UI on file load. Also note: to hide RNA (needed for hair and particles) will be done as a separate patch. Differential Revision: https://developer.blender.org/D8606
2020-08-18GPUTexture: Extend CUBE_MAP_ARRAY_ARB proxy workaround to all Apple gpusClément Foucault
Related to T79716
2020-08-18GPU: Avoid invalid GL API usageClément Foucault
Drawing with 0 sized buffer is prohibited.
2020-08-18Fix T79782 GPU: Crash cause by shadow batch referenceClément Foucault
After drawing, the batch could be reset and draw again using other parameters. Avoid having to track references by setting the batch pointer to NULL after drawing.
2020-08-18Sculpt: Option to limit the forces axis in the Cloth FilterPablo Dobarro
This uses the same concept of the Mesh Filter but for applying the cloth filter forces, so now it can be limited to a specific axis. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8567
2020-08-18Multires: Base Mesh SculptingPablo Dobarro
This adds an option to the Multires modifier to sculpt directly on the base mesh while previewing the displacement of a higher subdivisions level. What this does it considering Multires as a regular modifier without exposing the grid displacement to sculpt mode. This allows to see the propagation happening in real time, which enables to use complex tools like Cloth or Pose in much higher resolutions and without surface noise and artifacts. Reviewed By: sergey, Severin Differential Revision: https://developer.blender.org/D8555
2020-08-18Cleanup: use Span instead of separate pointer and lengthJacques Lucke
Reviewers: sergey Differential Revision: https://developer.blender.org/D8605
2020-08-18Mesh: merge `mesh_create_eval_final_{view,render}` functionsSybren A. Stüvel
Functions `mesh_create_eval_final_view()` and `mesh_create_eval_final_render()` were doing the exact same thing, except for a hack introduced in d3eb9dddd6b4 (2012-10-08, Better fix for T32846: dupligroup messes up particle instancing on rendering) that appears to be no longer necessary. Besides that, these functions had confusing names. Their functionality changed over time, and whether to do for-render or for-viewport evaluation is now actually determined by the depsgraph evaluation mode. This means that the `..._render` function could evaluate a mesh with viewport settings, and vice versa. The functions are now merged into `mesh_create_eval_final()`, and the hack has been removed. The `OB_NO_PSYS_UPDATE` flag has been removed entirely (instead of keeping it around as deprecated flag), because it was always only temporarily set on objects during mesh evaluation and thus not saved to the blend file. No expected functional changes as far as users are concerned.
2020-08-18Cleanup: rename bdata to boundaryPablo Dobarro
Reviewed By: sergey Differential Revision: https://developer.blender.org/D8556
2020-08-18Fix Cloth Brush Grab deform types not working with spacingPablo Dobarro
Even the Cloth Brush grab works like a regular grab brush, it makes sense to support spacing just in this brush in order to prevent creating more brush steps that update the simulation. This way, it is possible to create grab brushes that update the simulation constantly while grabbing (using the dots stroke mode) or brushes that only update the simulation when the cursor moves (using spacing). Reviewed By: sergey Differential Revision: https://developer.blender.org/D8568
2020-08-18Cleanup: Remove unused code in the Paint CursorPablo Dobarro
This code was left here after the refactor, it was doing nothing and it was causing an assert. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8579
2020-08-18Fix Face Set Visibility operator using wrong active Face SetPablo Dobarro
The Face Set visibility operator was using the last active Face Set updated by the paint cursor, so when the paint cursor is not used (when using a filter or a transform tool), the active Face Set was not updating and it was hidding the wrong Face Set based on the last cursor position with a brush tool active. Now the Face Set Visitility operator has an invoke callback wich forces a active vertex and face set update regardless of the active tool, so it should always work correctly. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8580
2020-08-18Fix T79568 EEVEE: Film transparent not workingClément Foucault
Since world shader use the same standard output and are considered opaque, we need to set alpha as holdout.
2020-08-18Fix Mask Slice deleting the Face SetsPablo Dobarro
This was a TODO in the code. Previously the Face Set datalayer was deleted and recreated with a constant ID of 0. Now the datalayer is preserved and set to the SculptSession after slicing the mask and a new ID is calculated for the new faces that the slicing operation produced, so they can be easily isolated for further tweaking. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8583
2020-08-18Sculpt: Expose the functions to create and init a SculptClothSimulationPablo Dobarro
This will be used for new features like supporting cloth deformation in other brushes and tools outside of the cloth brush code. No functional changes. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8602
2020-08-18Merge branch 'blender-v2.90-release' into masterBastien Montagne
2020-08-18Fix/cleanup Constraint poll function in liboverride cases.Bastien Montagne
Some constraint-specific operators, like set/clear inverse matrix of childof constraint, are also valid on original, linked/overridden constraints. Similar change to what was done to modifiers poll function a few days ago. Reported by Josephbburg (@Josephbburg) over IRC, thanks.
2020-08-18Merge branch 'blender-v2.90-release'Antonio Vazquez
2020-08-18Fix T79580: Control Mesh Only Partially Drawn After Filling a Surface From a ↵Antonio Vazquez
Cage of Surface Curves Differential Revision: https://developer.blender.org/D8600
2020-08-18Merge branch 'blender-v2.90-release'Antonio Vazquez
2020-08-18Fix T79770: Crash opening 2.83 .blend with linked collection containing ↵Antonio Vazquez
greasepencil object in 2.91 The scene was null and could not be patched.
2020-08-18Cleanup: use view-zoom enum typeCampbell Barton
2020-08-18Merge branch 'blender-v2.90-release' into masterCampbell Barton
2020-08-18Fix incorrect pixelsize use where DPI scale was intendedCampbell Barton
Changing line-width shouldn't scale cursor motion. Related to T79787. Use dpi_fac for scaling curve error threshold & number button drag threshold calculation.
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-18Cleanup: expand UserDef pixel-size & DPI documentationCampbell Barton
Avoid misunderstandings with UI scaling.