Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 385 / 5574

Revision ab484ff by Hans Goudey
February 17, 2021, 03:40 (GMT)
Fix T85664: 3D Viewport issues with curve poly splines

Caused by cleanup in rBcdb3cbd64401, where an index
was used to index `float *` instead of `float[3]`.
February 17, 2021, 02:10 (GMT)
Merge branch 'blender-v2.92-release'
February 17, 2021, 01:45 (GMT)
Fix T84701: Popup closes on release while dragging parameter.

Windows Ghost cursor movement was previously changed to use SendInput
because SetCursorPos sporadically allows the cursor to escape the
window. This is now reverted because SendInput causes mouse history via
GetMouseMovePointsEx to contain invalid movement history, likely due to
interaction with mouse acceleration. This resulted in popups closing
when the cursor appeared to leave their range.
Revision 461d4fc by Hans Goudey
February 16, 2021, 23:15 (GMT)
Geometry Nodes: Node error messages

This patch adds icons to the right side of nodes when they encounter a
a problem. When hovered, a tooltip displays describing the encountered
while evaluating the node.

Some examples are: attribute doesn't exist, mesh has no faces,
incorrect attribute type, etc. Exposing more messages to the system
will be an ongoing process. Multiple warnings per node are supported.

The system is implemented somewhat generically so that the basic
structure can also be used to store more information from evaluation
for the interface, like a list of available attributes.

Currently the messages are just button tooltips. They could be styled
differently in the future. Another limitation is that every instance of
a node group in a parent node tree will have the same error messages,
the "evaluation context" used to decide when to display the tooltips
must be extended to support node tree paths.

Differential Revision: https://developer.blender.org/D10290
February 16, 2021, 22:29 (GMT)
Fix T85671: color management crash with Medium Contrast look
Revision ba79b80 by Hans Goudey
February 16, 2021, 22:17 (GMT)
Cleanup: Use consistent order placement for include
Revision eb2e260 by Hans Goudey
February 16, 2021, 19:06 (GMT)
Cleanup: Used derived node in geometry exec params

Since the derived node tree is already build for the evaluation system,
it's simpler to pass a derived node to the params struct. This will also
allow context lookups in nested node groups for node error messages,
since the derived node has that information readily accessible.
Revision c075b8b by Hans Goudey
February 16, 2021, 18:02 (GMT)
Cleanup: Remove use of designated initializers in C++
Revision 520d965 by Hans Goudey
February 16, 2021, 16:55 (GMT)
Cleanup: Compile node_draw.c with C++

This will allow using C++ data structures to draw node error messages.
This required removing a forward declared enum for grease pencil undo.
Compiles with clang tidy.
February 16, 2021, 14:51 (GMT)
UI: Add support for bl_description for panels

This commit adds support for `bl_description` and python docstrings for panels.
This is useful for pop-over panel types so they can have a label and description.

This commit also includes an example use case.

Reviewed By: campbellbarton

Differential Revision: https://developer.blender.org/D10429
Revision e81fca1 by Julian Eisel
February 16, 2021, 14:34 (GMT)
Assets: Remove appended asset when dropping operation fails

When dropping an asset somewhere, it is appended and then a drop operation is
called to actually add it to the scene based on current context. If this drop
operation fails, the appended data-block is now still in the .blend. The user
may not notice and not expect this.
Instead idea is to rollback any changes done by dropping code if the operation
fails, namely removing the appended data-block again.

Adds a new `cancel()` callback which is called if the drop operator returns
`OPERATOR_CANCELLED` to drop-boxes and a generic function to deal with assets
on drop failure.

Also removes the `free_id_on_error` property of the `NODE_OT_add_group`
operator, which was used as ad-hoc solution to get this same behavior.
February 16, 2021, 13:25 (GMT)
Fix T85697: implement interpolation for float custom data type

This just hasn't been implemented before.
February 16, 2021, 13:23 (GMT)
LibOverride: Add support for rotation mode of PoseBones.

Request from the studio.
February 16, 2021, 12:58 (GMT)
Merge branch 'blender-v2.92-release'
February 16, 2021, 12:47 (GMT)
Fixes T84928 : Lattice vertices at unexpected positions when changing lattice resolution from 1 to 3 or more.

Fix for T84928 .
Considering the changes , issue is resolved ( Ignoring readability issues) .

**Changes **:

- `Change in value assignment of fu/v/w :` Observing previous code , I noticed ,value assigned to them is equivalent to -0.5 ( i.e. co-ordinate of left most vertex of lattice size =1 where centre of lattice is origin ) .

- `Change in value assignment of du/v/w :` Margin ( distance ) between each division of surface along any axis is equivalent to **( (length of surface along axis ) / (no of division line - 1) )** . that's why is changed it to (default_size/unew -1) .

- ` New variable declared "default_size" :` As far as I gone through the code , I noticed values 1 < du ,fu < 1 , which indicates these values were calculated with respect to default lattice of size 1 .

- `removed pntsu/v/w != 1 check :` Following changes inside the if block worked properly for pntsu/v/w = 1 .

Reviewed By: lichtwerk, campbellbarton

Differential Revision: https://developer.blender.org/D10353
February 16, 2021, 12:35 (GMT)
Fix T85697: subdivision surface node output does not contain vertex group names

The vertex weights were actually interpolated correctly. The issue was that
vertex group names were removed from the output geometry set. We have
to keep track of these names separately from the mesh, for legacy reasons.
Vertex group names are not stored on meshes but objects instead.
February 16, 2021, 11:30 (GMT)
Geometry Nodes: move realize-instances code to blenkernel

I need to access this functionality from modifier code. Therefore it should
not be in the nodes module.
February 16, 2021, 11:07 (GMT)
Geometry Nodes: move geometry set instance handling to separate file

In an upcoming commit I'll also move the make-instances-real functionality
to this file. This code is not essential to working with geometry sets in general,
so it makes sense to move it to a separate header.
February 16, 2021, 10:55 (GMT)
Geometry Nodes: move some attribute utilities to blenkernel

I need to access these utilities from modifier code as well.
Therefore, they should not live in the nodes module.
February 16, 2021, 10:15 (GMT)
Cleanup: spelling
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021