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-07-30Fix T79347 GPU: Segfault starting blenderClément Foucault
2020-07-30Merge branch 'blender-v2.90-release' into masterNathan Craddock
2020-07-30Fix T79278: Selected object filter skipping collection instancesNathan Craddock
Collection instance datablocks were not filtered out when only showing the selected object. They were treated as a collection (which should show when filtering objects). Adds a case to check if the parent is an object.
2020-07-30Add compound shape for rigid body simulationDavid Vogel
This patch adds a new compound shape entry to the shape selection dropdown. It also corrects wrong inertia calculation for convex hulls, that resulted in strange behavior for small objects. The compound shape take the collision shapes from its object children and combines them. This makes it possible to create concave shapes from primitive shapes. Using this instead of the mesh collision shape is often many times faster. Reviewed By: Sergey, Sebastian Parborg Differential Revision: http://developer.blender.org/D5797
2020-07-30Merge remote-tracking branch 'origin/blender-v2.90-release'Dalai Felinto
2020-07-30Cleanup: Remove pre 2.80 headersValentin
Review: D8341
2020-07-30Fix T79117: dependency cycle with passive rigid body objectsJacques Lucke
Reviewers: zeddb Differential Revision: D8431
2020-07-30Merge branch 'blender-v2.90-release'Philipp Oeser
2020-07-30Fix T79357: VSE crash on prefetching when performing cutsPhilipp Oeser
Caused by {rBa1a333a1e92e} `BKE_sequencer_prefetch_get_original_sequence` cant get a sequence in `BKE_sequencer_cache_put`. rBa1a333a1e92e moved multiple NULL checks (including the one checking seq) above BKE_sequencer_prefetch_get_original_sequence (this should never return NULL really, but this is for another fix). So solution suggested by @ISS is to just stop prefetching all together before changing content of seqbase. Maniphest Tasks: T79357 Differential Revision: https://developer.blender.org/D8421
2020-07-30GPU: Fix compilation error (missed one)Clément Foucault
2020-07-30GPU: Fix compilation errorClément Foucault
2020-07-30Cleanup: IMB: Put lowercase prefix on static functionsClément Foucault
2020-07-30EEVEE: GLSL refactor/cleanupClément Foucault
- add the use of DRWShaderLibrary to EEVEE's glsl codebase to reduce code complexity and duplication. - split bsdf_common_lib.glsl into multiple sub library which are now shared with other engines. - the surface shader code is now more organised and have its own files. - change default world to use a material nodetree and make lookdev shader more clear. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D8306
2020-07-30IMB: Refactor util_gpu.c to not expose enum gettersClément Foucault
This was causing compiler error on MSVC and is not a good idea in general.
2020-07-30Cleanup: Use MEM_calloc_arrayN in the Cloth BrushPablo Dobarro
Reviewed By: sergey Differential Revision: https://developer.blender.org/D8432
2020-07-30Sculpt: Use constraints in cloth deform brushesPablo Dobarro
Previously, deform brushes were modifying the final positions in the simulation directly, which was causing all sorts of artifacts in the deformed area and problems with other features of the solver. Now these brushes deform a separate array of positions and the solver adds constraints to them, so the real vertices are moved when solving the constraints. This prevents those artifacts and gives the brush a much better behavior. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8424
2020-07-30Sculpt: Enable persistent base for the cloth brushPablo Dobarro
The cloth brush builds the constraints when the stroke starts usign the current state of the mesh. This means that deformations profuced by the simulattion will accumulate after multiple strokes as it will always start from the previous deformed state. While this is useful in many cases, for other uses it is convenient to always simulate the same initial shape, but applying different forces to it. The persistent base options work like the persistent base in the layer brush and allows the cloth brush to not accumulate deformation after each stroke. When enabled, constraints are created for the shape stored in the persistent base instead of from the current state of the mesh. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8428
2020-07-30GPUBatch & GPUImmediate: Use GPUShader instead of using raw OGL handleClément Foucault
2020-07-30Merge branch 'blender-v2.90-release'Philipp Oeser
2020-07-30Fix usercount not decrementing in `gpencil_stroke_separate_exec`Philipp Oeser
This is part of T79273 where separating a stroke would result in multiuser gpencil data for the original object. Real underlying issue seems to be that gpencil multiuser objects (also the ones created by Alt+D duplicating) have a problem evaluating modifiers correctly [this will need further investigation]. Not sure if this is a limitation of D5470? This patch only corrects the usercount on separating [which already fixes the scenario reported because singleuser gpencil modifiers work correctly]. Note: we could have also called `ED_object_add_duplicate` with the `USER_DUP_GPENCIL` dupflag -- that would have taken care of the usercount --, but then the whole following logic in `gpencil_stroke_separate_exec` would need to change from **adding** layers/frames/strokes to **removing** these. Part of T79273 Maniphest Tasks: T79273 Differential Revision: https://developer.blender.org/D8419
2020-07-30Merge branch 'blender-v2.90-release' into masterCampbell Barton
2020-07-30Fix T79207: Crash converting curve to meshCampbell Barton
2020-07-30Cleanup: split curve bevel into separate fileHans Goudey
2020-07-30Merge branch 'blender-v2.90-release' into masterCampbell Barton
2020-07-30Merge branch 'blender-v2.90-release' into masterCampbell Barton
2020-07-30Merge branch 'blender-v2.90-release' into masterCampbell Barton
2020-07-30Fix T79369: BMesh.calc_volume() gave incorrect resultCampbell Barton
2020-07-30UV: path select support with sync-select enabledCampbell Barton
Also improve region fill with edge-select enabled which often failed to include both vertices from each edge in the resulting region.
2020-07-30Fix UV select with sync select enabled wasn't setting activeCampbell Barton
2020-07-30Cleanup: spellingCampbell Barton
2020-07-30Cleanup: warningsCampbell Barton
2020-07-30Merge branch 'blender-v2.90-release'Germano Cavalcante
2020-07-30Fix ghash return value on 'Correct Face Attributes' with 'Keep Connect'Germano Cavalcante
The result was somewhat unpredictable. This error was recently introduced.
2020-07-30Cleanup: GPU: Remove GPU_draw.h and move fluid gpu function to DRWClément Foucault
2020-07-30Cleanup: Split gpu_texture_image.c into BKE and IMB modulesClément Foucault
This is in order to disolve GPU_draw.h into more meaningful code blocks. All the Image related function are in `image_gpu.c`. All the MovieClip related function are in `movieclip.c`. The IMB module now has a connection with GPU. This is not strickly necessary and the code could be move to `image_gpu.c` if needed. The Image garbage collection is also ported to `image_gpu.c`.
2020-07-30GPU_draw.h: cleanup before splittingClément Foucault
2020-07-30RNA: Image API: Fix error in NULL check in rna_Image_gl_touchClément Foucault
This check was always returning true.
2020-07-30Cleanup: Rename defineHans Goudey
*_LEN follows names elsewhere in Blender more closely than "_N_"
2020-07-29Sculpt: Cloth Brush Soft Body Influence propertyPablo Dobarro
This property adds constraints to the simulation using the initial location of the vertices, making it behave like a soft body. The strength of these constraints can be modified with the brush parameter. This makes some deformation modes more subtle and predictable, making it possible to use the cloth brush to add surface detail in a more controllable way without loosing completely the original shape of the mesh. Reviewed By: sergey Differential Revision: https://developer.blender.org/D7845
2020-07-29Merge branch 'blender-v2.90-release'Bastien Montagne
2020-07-29Fix T79119: Hook modifier deformation not shown in edit mode.Bastien Montagne
Missing temp `BKE_mesh_wrapper_ensure_mdata` hack for the Hook modifier...
2020-07-29Merge branch 'blender-v2.90-release'Bastien Montagne
2020-07-29Fix T78285: Invalid thread safety in shrinkwrap modifier code.Bastien Montagne
This uses mesh's runtime mutex for both `BKE_mesh_runtime_looptri_ensure` (was using its own global RW mutex before), and `BKE_mesh_wrapper_ensure_mdata` (was not protected at all before). This is more like a band-aid than a proper fix, as mentioned in the report proper fix would be for the modifier to request those data (the relevant BVHTree, which would implicitely also call the tow others) through flags, just like it does for regular CDData layers. But this is a much bigger refactor to be done outside of bugfix scope. Reviewed By: sergey Maniphest Tasks: T78285 Differential Revision: https://developer.blender.org/D8415
2020-07-29Merge branch 'blender-v2.90-release'Pablo Dobarro
2020-07-29Fix Cloth Brush global Sculpt gravity applied in the wrong falloffPablo Dobarro
Previously, gravity was only applied in the real brush radius, not in the whole simulation radius. For most deformation modes, applying gravity to the entire simulation instead of just to the brush radius and scaled by the radius (like a regular sculpt brush) makes more sense. After this fix and with the cloth collisions patch applied, it is possible to do things like this with the cloth grab brush. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8406
2020-07-29Fix T79054: Crash with Cloth Brush and anchored strokePablo Dobarro
As the comment says, anchored stroke can't rely on the first stroke iteration for creating the simulation data. Probably lost in a cleanup. I also made that anchored stroke doesn't restore the mesh state in the cloth brush, so it can create the simulation effect. Reviewed By: sergey Maniphest Tasks: T79054 Differential Revision: https://developer.blender.org/D8348
2020-07-29Compositor: Fix node preview when input resolution is not knownSergey Sharybin
The final render will use scene resolution in this case. For example, when Color Input is plugger to preview and composite output nodes, final render will flood-fill the final image which is a size of scene resolution with this color. Before this fix the node preview was empty. After this fix the node preview will be flood-filled with the color. Fixes T78586 Differential Revision: https://developer.blender.org/D8263
2020-07-29Compositor: Fix calculation of preview resolutionSergey Sharybin
Were two issues: - Divider was calculated in integer domain, causing rounding issues in general case, and causing singularity in a corner case when input is smaller than the preview size. - The resolution was scaled down by 1 pixel for no obvious reason.
2020-07-29GPUShader: Fix linking with MSVCClément Foucault
2020-07-29Cleanup: GPUTexture: Use UNPACK3 in texture_fluidClément Foucault