Blender Git Commits

Blender Git "master" branch commits.

Page: 654 / 5574

July 29, 2020, 21:06 (GMT)
GPU_draw.h: cleanup before splitting
July 29, 2020, 21:06 (GMT)
RNA: Image API: Fix error in NULL check in rna_Image_gl_touch

This check was always returning true.
Revision 5f46a0f by Hans Goudey
July 29, 2020, 21:01 (GMT)
Cleanup: Rename define

*_LEN follows names elsewhere in Blender more closely than "_N_"
July 29, 2020, 17:49 (GMT)
Fix failing PLY test, update hash because metadata changed
July 29, 2020, 17:14 (GMT)
Sculpt: Cloth Brush Soft Body Influence property

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
July 29, 2020, 16:22 (GMT)
Merge branch 'blender-v2.90-release'
July 29, 2020, 16:21 (GMT)
Fix T79119: Hook modifier deformation not shown in edit mode.

Missing temp `BKE_mesh_wrapper_ensure_mdata` hack for the Hook
modifier...
July 29, 2020, 15:39 (GMT)
Merge branch 'blender-v2.90-release'
July 29, 2020, 15:36 (GMT)
Fix T78285: Invalid thread safety in shrinkwrap modifier code.

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
July 29, 2020, 15:22 (GMT)
Merge branch 'blender-v2.90-release'
July 29, 2020, 15:21 (GMT)
Fix Cloth Brush global Sculpt gravity applied in the wrong falloff

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
July 29, 2020, 15:19 (GMT)
Fix T79054: Crash with Cloth Brush and anchored stroke

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
Revision 83f01db by Sergey Sharybin
July 29, 2020, 15:18 (GMT)
Compositor: Fix node preview when input resolution is not known

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
Revision 66df8ff by Sergey Sharybin
July 29, 2020, 15:18 (GMT)
Compositor: Fix calculation of preview resolution

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.
July 29, 2020, 14:07 (GMT)
GPUShader: Fix linking with MSVC
July 29, 2020, 13:54 (GMT)
Cleanup: GPUTexture: Use UNPACK3 in texture_fluid
July 29, 2020, 13:54 (GMT)
GPUState: Fix compilation error on MSVC
July 29, 2020, 13:54 (GMT)
Cleanup: GPU: Move Image based function to GPU_draw.h

This makes it less confusing what functions are for blender
structures.
July 29, 2020, 13:54 (GMT)
Cleanup: GPU: Rename gpu_texture_smoke to fluid, and move back to C

The file do not have a reason to be C++ anymore.
July 29, 2020, 13:34 (GMT)
GPencil: New Brush predefined mode

it's good to have an option to ' pin' a mode to the brush, to use that mode always, independent of the current viewport selected mode.

{F8723224}

Reviewed By: pepeland

Differential Revision: https://developer.blender.org/D8399
81a002
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021