Blender Git Loki

Kaikki Blender Git kommitit.

Page: 683 / 8462

April 30, 2021, 05:14 (GMT)
Merge branch 'blender-v2.93-release'
April 30, 2021, 05:14 (GMT)
Merge branch 'blender-v2.93-release'
April 30, 2021, 05:08 (GMT)
Fix potential buffer overrun in drw_shader_dependencies_get

Logical error let this function to write one past the buffer bounds.
April 30, 2021, 04:36 (GMT)
Nodes: Add a callback to check for valid socket type

This adds a callback to bNodeTreeType to check which socket types are
valid for the tree type. Function has been implemented for the normal
tree types, and can be implemented for custom node trees with python,
by adding a `classmethod` to the tree. However, only builtin socket
types are supported.

This is relevant for T87049, but it also has the advantage that it is
now clear which node trees support which sockets. Previously this
was assumed to be known by all developers.

Differential Revision: https://developer.blender.org/D10938
April 30, 2021, 04:26 (GMT)
Fix missing NULL check in grease-pencil clear strokes
April 30, 2021, 04:22 (GMT)
Fix sculpt mask operator crash running without a 3D view

Add missing operator poll, depend on the 3D view for all
sculpt paint/mask operators.
April 30, 2021, 04:16 (GMT)
Fix crash running window operators in background mode
Revision ddaeaa4 by Hans Goudey (master)
April 30, 2021, 02:52 (GMT)
Geometry Nodes: Add a template utility to mix two attribute values

This is just linear interpolation, but it's nice to have an equivalent
to `mix3` for only two values. It will be used for interpolation of
values between bezier spline control points.
April 30, 2021, 02:31 (GMT)
Fix uninitialized memory use in GLDrawList

GLDrawList::init() used MDI_INDEXED which checks base_index_.
Revision 45a14a2 by Hans Goudey (master)
April 30, 2021, 02:25 (GMT)
Cleanup: Mismatched array bounds in function declaration
April 30, 2021, 01:39 (GMT)
Fix uninitialized local-view flag on object creation

Local view return argument to ED_object_add_generic_get_opts
was left uninitialized.
April 30, 2021, 01:21 (GMT)
Cleanup: quiet shadow variable warning
April 30, 2021, 00:25 (GMT)
Show a bounding box for object assets while dragging

Note: Object assets have to be saved with this commit or later for the bounding
box to appear.

Basic idea is:
* Store the bounding box (and related info) in the asset metadata.
* The bounding box has to be updated and written to custom properties of the
asset metadata.
* There's a new `AssetTypeInfo` struct, to set asset type dependent callbacks
or data (in future). ID types can conveniently define asset-type info as part
of their `IDTypeInfo` definition.
* The asset-type info can contain a custom callback to be executed before the
asset is saved. This is how the object can write its custom asset metadata.
* The dropbox can also register a callback to set properties for its
gizmo-group now. Used to copy
* The "placement plane" gizmo is scaled to the bounding box size too.
* For local ID assets, the data should be accessed directly, so the file
doesn't have to be saved to get the bounding box updated.

Also:
* Added proper gizmo group custom property support to C (was already supported
in Python, or in C with some hacking).
* Store the basis matrix (world matrix without parent or constraint transforms)
in the custom asset metadata. Used by the placement gizmo to scale the
bounding box to match the result visually when dropping.
* The preview image is disabled while dragging objects over the 3D view.
* The bounding box always snaps with its lower edge (Z axis) to the surface.
Snapping with other axes can be added still.
* However, actually dropping the object still uses the origin, so the drop
position may not match what the bounding box indicated. This could be changed
to also use the bounding box instead. Or the drawn bounding box should be
translated to respect the origin position.
April 29, 2021, 22:53 (GMT)
Merge branch 'usd-importer-T81257-merge' of https://gitlab-master.nvidia.com/omniverse/blender into nv-usd-importer
Revision 8dd5fdc by Hans Goudey (master)
April 29, 2021, 20:11 (GMT)
Cleanup: Remove unecessary variable

The value of this variable was incremented, but never used.
April 29, 2021, 18:45 (GMT)
Fix memory leak introduced by last commit
April 29, 2021, 18:36 (GMT)
Add IDP_ID UI data for tooltips from node sockets
April 29, 2021, 18:35 (GMT)
Refactor IDProperty usage in MOD_nodes.cc
April 29, 2021, 18:04 (GMT)
GPencil: Add new Dilate factor for Fill Brush

Before, the dilate of the fill area was predefined as 1 pixel. Now this value can be changed to fill gaps.
April 29, 2021, 17:17 (GMT)
Merge branch 'master' into temp_bmesh_multires

Also fixed a pose brush bug that may or may not have been
the result of the merge nixing code, need to check master.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021