Blender Git Commits

Blender Git "master" branch commits.

Page: 485 / 5574

November 17, 2020, 08:33 (GMT)
Fix T82042: Crash when rendering huge images

Crash is related to the definition of the GL_MAX_TEXTURE_SIZE. OpenGL does not clearly
defined `GL_MAX_TEXTURE_SIZE` exactly means. Both on AMD and NVIDIA we have issues with
huge textures that they don't get created even if they are smaller. (See {D9530} for
research).

This patch will try to create the texture in a smaller size when the texture creation
failed.

Final implementation by: Cl�ment Foucault

We should create a solution that doesn't need downscaling. For this specific case ARB_sparse_texture might help to create cleaner code, but you still have to commit the whole image what introduces several draw calls. Other improvement is to optimize the scaling; current implementation isn't optimized for performance.

Reviewed By: Cl�ment Foucault

Differential Revision: https://developer.blender.org/D9524
November 17, 2020, 03:10 (GMT)
Merge branch 'blender-v2.91-release'

Conflicts:
source/blender/editors/render/render_opengl.c
source/blender/sequencer/intern/effects.c
November 17, 2020, 02:56 (GMT)
Fix T82703: Image not scaled when rendering

This is was caused by incorrectly set preview_render_size in VSE
rendering context. Value was set to SEQ_PROXY_RENDER_SIZE_FULL, but
it should be SEQ_PROXY_RENDER_SIZE_SCENE as scene render size is
being used.

This is same fix as 0d7036b40e68, but I did not checked openGL
render pipeline.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D9562
November 17, 2020, 02:55 (GMT)
Fix incorrect text size with downscaled preview

Use either scene render size or fixed preview scale factor.

Previously scene render size was used as baseline value for text size
correction. This is incorrect.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D9563
November 17, 2020, 00:31 (GMT)
Cycles: Fix compilation error and warning without OPENVDB
November 17, 2020, 00:31 (GMT)
Fix T81827: MacOS lines that should be thick are green instead

The issue was the use of alpha values of 0 when there were no blending
enabled.

This patch just disables the smoothing of the wires in this case.
November 16, 2020, 21:19 (GMT)
Merge branch 'blender-v2.91-release'
November 16, 2020, 21:13 (GMT)
Fix wrong collection icon in outliner popover

This icon was missed in rB0633a89e1827
November 16, 2020, 20:54 (GMT)
Outliner: Collection icon color tweaks

The icons originally chosen for the collection colors were selected
during development and had a few issues with contrast in the light
theme, and the gray color was not a good choice against the default gray
backgrounds.

The new colors are more readable in both default Blender themes. Gray
was replaced with pink.

Differential Revision: https://developer.blender.org/D9504
November 16, 2020, 20:46 (GMT)
Fix T76699: Support macOS inbetween mouse/tablet.

Coalescing on macOS overwrites a singular unprocessed mouse event. To
receive all mouse and tablet events coalescing is disabled.

Disabling coalescing for macOS disables coalescing for trackpad
gestures. Repeat trackpad events are unnecessary and found to
negatively impact performance thus are re-coalesced in Window Manager.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D9574
November 16, 2020, 18:30 (GMT)
Merge branch 'blender-v2.91-release'
November 16, 2020, 18:29 (GMT)
Fix T82673: Cycles crash with zero emission strength and linked emission color
Revision 07bd8ea by Clément Foucault
November 16, 2020, 17:31 (GMT)
Fix unreported wireframe opacity color blending broken

This was introduced by rBdb7d8281c5a2.

The color needs to be premultiplied as there is no blend mode and
the output color is replacing the framebuffer color & alpha.
November 16, 2020, 16:55 (GMT)
Fix T81983: volume tiles missing in Cycles renders

The OpenVDB data structure can store voxel data in leaf nodes or tiles
when all the nodes in a given region have a constant value. However,
Cycles is using the leaf nodes to generate the acceleration structure
for computing volume intersections which did not include constant tiles.

To fix this, we simply voxelize all the active tiles prior to generating
the volume bounding mesh. As we are using a MaskGrid, this will not
allocate actual voxel buffers for each leaf, so the memory usage will be
kept low.

Differential Revision: https://developer.blender.org/D9557

Reviewed by: brecht, JacquesLucke
Revision 328aad8 by Hans Goudey
November 16, 2020, 16:47 (GMT)
UI: Remove X axis panel dragging

X axis panel dragging traces back to Blender versions before 2.5,
where panels could be aligned horizontally. But for many years now
panels have been vertically aligned. Considering this, keeping the
X axis dragging around is a bit odd. It makes interaction confusing,
or at least more complicated. It also looks bad, since any part of
the panel outside the region is cropped.

Differential Revision: https://developer.blender.org/D9549
November 16, 2020, 16:13 (GMT)
Revert "RNA define: check and report invalid usages of ID pointers properties."

This reverts commit f39fbb3e604611b63c69661dd22ca987fb1d8791.

Code is not valid, `DefRNA.laststruct` does not always point to the
proper struct when defined from Python, need to be done differently.
Revision c48063d by Hans Goudey
November 16, 2020, 16:00 (GMT)
Merge branch 'blender-v2.91-release'
Revision c645da9 by Hans Goudey
November 16, 2020, 15:59 (GMT)
Fix T82439: Crash moving collections between scenes

The original code for viewlayer collection flag syncing across moves
from D9158 didn't consider the case where the collection could no longer
be found in its original view layer (moving a collections betwen scenes).

The fix is to just check if the collection starts in the same scene as
it will be moved to before trying to do the flag syncing. I thought about
this for a while and tried a couple other solutions, but I couldn't come
up with a proper way to support syncing the layer collection flags across
scenes without making too many changes.

Differential Revision: https://developer.blender.org/D9568
November 16, 2020, 13:39 (GMT)
Fix broken pointcache on disk in some cases.

Root of the issue is that point caches are added to the object's list
on-demand, which often ends up with them being added only during
depsgraph evaluation, i.e. on COW objects.

This could result in having 'orig' data caches with invalid/unset stack
index at some points (e.g. when reading a file and applying
liboverrides), leading to discarding valid existing disk cache files.
Fact that one of those index is signed, and the other not, does not
help...

While this is very weak, fixing broken PointCache code is out of the
scope of a bug fix, so this patch merely:
* Simplifies and factorizes the code generating the 'extension' part of
caches filenames;
* Ensures `BKE_object_insert_ptcache` is called when needed so that we
always have a valid stack index to generate that filename extension.

This is only a bandaid, but it is simple and should be safe enough for
now.

Related to T82503.
November 16, 2020, 13:39 (GMT)
Fix (unreported) potential buffer overflow in PointCache code.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021