Blender Git Commits

Blender Git commits from all branches.

Page: 383 / 2888

May 6, 2021, 09:25 (GMT)
Movieclip: Use first clip frame for size detection

Using scene frame 1 is not reliable in cases when there is a
frame offset is involved. Using frame 1 seems more reliable,
although might still fail under certain circumstances.

More reliable fix would require a deeper change in the data
structure and the logic about frame loading and size detection.
May 6, 2021, 09:25 (GMT)
WM: disable idle event handling timer when simulating events
May 6, 2021, 09:25 (GMT)
Cleanup: spelling
May 6, 2021, 09:25 (GMT)
Fix T87926: Transform menu has operators guaranteed to not pass poll in certain modes

Reported for ops.transform.vertex_warp and ops.transform.vertex_random.
Polling will check with ED_transverts_check_obedit, if we know it will
fail e.g. for pose mode, we can do the same check in the UI already.

Maniphest Tasks: T87926

Differential Revision: https://developer.blender.org/D11128
May 6, 2021, 09:25 (GMT)
Fix T88005: GPencil inverse fill leaves unwanted line at viewport edge.

There was a function to set 2 pixels wide for inverse filling, but this must not be done in the borders of the image.

Now, the borders are checked before set 2 pixels.
May 6, 2021, 09:25 (GMT)
Geometry Nodes: Initial basic curve data support

This patch adds initial curve support to geometry nodes. Currently
there is only one node available, the "Curve to Mesh" node, T87428.

However, the aim of the changes here is larger than just supporting
curve data in nodes-- it also uses the opportunity to add better spline
data structures, intended to replace the existing curve evaluation code.
The curve code in Blender is quite old, and it's generally regarded as
some of the messiest, hardest-to-understand code as well. The classes
in `BKE_spline.hh` aim to be faster, more extensible, and much more
easily understandable. Further explanation can be found in comments in
that file.

Initial builtin spline attributes are supported-- reading and writing
from the `cyclic` and `resolution` attributes works with any of the
attribute nodes. Also, only Z-up normal calculation is implemented
at the moment, and tilts do not apply yet.

**Limitations**
- For now, you must bring curves into the node tree with an "Object
Info" node. Changes to the curve modifier stack will come later.
- Converting to a mesh is necessary to visualize the curve data.

Further progress can be tracked in: T87245
Higher level design document: https://wiki.blender.org/wiki/Modules/Physics_Nodes/Projects/EverythingNodes/CurveNodes

Differential Revision: https://developer.blender.org/D11091
May 6, 2021, 09:25 (GMT)
Cycles standalone: Fixed macOS dependencies.

Added IOKit and Accerelate as linked frameworks where necessary.
May 6, 2021, 09:25 (GMT)
Fix T87982: crash switching render slots while render is in progress
May 6, 2021, 09:25 (GMT)
Fix T88001: persistent data render wrong when changing camera border
May 6, 2021, 09:25 (GMT)
Fix T85287: Cycles deadlock loading Blender images in some cases
May 6, 2021, 09:25 (GMT)
Fix errors in Cycles comments
May 6, 2021, 09:25 (GMT)
Fix (unreported): 'CoInitializeEx' being called without 'CoUninitialize'

Problem introduced in {rB1f223b9a}.

This was possibly causing random crashes in Blender file browser when
compiled with ASAN.

Microsoft documents indicate that any call to `CoInitializeEx` must be
balanced by a corresponding call to `CoUninitialize`.

https://docs.microsoft.com/en-us/windows/win32/api/combaseapi/nf-combaseapi-coinitializeex#remarks
May 6, 2021, 09:25 (GMT)
Geometry Nodes: refactor instances component

The main goal of this refactor is to not store Object/Collection
pointers for every individual instance. Instead instances now
store a handle for the referenced data. The actual Object/Collection
pointers are stored in a new `InstanceReference` class.

This refactor also allows for some better optimizations further down
the line, because one does not have to search through all instances
anymore to find what data is instanced.

Furthermore, this refactor makes it easier to support instancing
`GeometrySet` or any other data that has to be owned by the
`InstancesComponent`.

Differential Revision: https://developer.blender.org/D11125
May 6, 2021, 09:25 (GMT)
Docs: PyAPI: Fix css selector failing on some pages
May 6, 2021, 09:25 (GMT)
Fix T86450: Random dark UI elements when redrawing

Resolves occasional glitch/flicker drawing dark buttons in the UI.

Regression in 405a5d3bd7ada5dd5af605b59ba07c7144f144a2
which removed shader unbinding when the batch is drawn.

GPU_shader_bind could run with the sRGB uniform in an unexpected state.

Reviewed By: fclem

Ref D11124
May 6, 2021, 09:25 (GMT)
GPencil: Auto lock layers, tooltip grammar fix

Reviewed By: #grease_pencil, antoniov

Differential Revision: https://developer.blender.org/D11136
May 6, 2021, 09:25 (GMT)
Python GPU: Replace a few calls of the bgl module with gpu

Concludes these files:
[x]bpy_types.py
[x]operator_modal_draw.py

Reviewed By: fclem

Differential Revision: https://developer.blender.org/D11129
May 6, 2021, 09:25 (GMT)
Fix T87905: GPencil modifiers not applied if saved with multiframe

When saving a file in Edit mode with Multiframe enabled, the render did not include the modifiers.

Now the multiframe is not enabled if it's doing a render.
May 6, 2021, 09:25 (GMT)
UI: Object Thumbnails Orientation Change

Object orientation for thumbnail creation changed to be slightly
oblique (tilted to one side and from above) to better show shape,
especially when axis-aligned. Camera lens changed to 85 to avoid
distortion of close objects like human heads.

see D9940 for details and examples.

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

Reviewed by Julian Eisel
May 6, 2021, 09:25 (GMT)
Fix T82824: Draw sensor size with correct alpha

Previously the option in the camera's //Object Data Properties > Viewport Display
> Sensor// would not display the sensor in camera view. This seemed to be caused
by the theme color `TH_VIEW_OVERLAY` having zero set for the alpha channel and
alpha blending being active, resulting in no visible output. Hence
`immUniformThemeColorShade(TH_VIEW_OVERLAY, 100);` is replaced with
`immUniformThemeColorShadeAlpha(TH_VIEW_OVERLAY, 100, 255);`.

Reviewed By: mano-wii

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