Blender Git Loki

Kaikki Blender Git kommitit.

Page: 74 / 8462

November 20, 2021, 04:51 (GMT)
Cleanup: Move search menu template to C++

This will allow using improved data structures, and
make other refactors to the search button API cleaner.
Revision 3baaab1 by Hans Goudey (master)
November 20, 2021, 04:48 (GMT)
Cleanup: Else after return
November 20, 2021, 04:45 (GMT)
Merge branch 'blender-v3.0-release'

November 20, 2021, 04:44 (GMT)
Fix error in rBfb0ea9

There is no need to multiply the "dash_width" by `UM.pixel size` since the "viewport_size" is already being divided by the DPI.

Ref {rBfb0ea9}
November 20, 2021, 00:08 (GMT)
This review fixes USD Preview Surface import bugs reported in T90535 (missing materials in Animal Logic's ALab).

Differential Revision: https://developer.blender.org/D13297
November 19, 2021, 22:40 (GMT)
Geometry Nodes: Instance attributes in Transfer/Capture nodes

Updates the Transfer Attributes and Capture Attributes nodes
to support attributes from instances.

Differential Revision: https://developer.blender.org/D13292
Revision 01df48a by Hans Goudey (master)
November 19, 2021, 22:36 (GMT)
Refactor: Port spreadsheet data set to UI tree view

This patch removes a bunch of specific code for drawing the spreadsheet
data set region, which was an overly specific solution for a generic UI.
Nowadays, the UI tree view API used for asset browser catalogs is a much
better way to implement this behavior.

To make this possible, the tree view API is extended in a few ways.
Collapsibility can now be turned off, and whether an item should
be active is moved to a separate virtual function.

The only visual change is that the items are now drawn in a box,
just like the asset catalog.

Differential Revision: https://developer.blender.org/D13198
Revision a0780ad by Hans Goudey (master)
November 19, 2021, 22:28 (GMT)
Fix: Exception in tree view code in new case

This isn't a problem in 3.0 or master, but I'm porting the spreadsheet
data set region to a tree view and ran into this. This line needs to
whether the function is empty before calling it.

Differential Revision: https://developer.blender.org/D13197
Revision cfbc9df by Hans Goudey (master)
November 19, 2021, 21:10 (GMT)
Cleanup: Use canonical variable name

All `ARegion` variables should be called `region` unless there is
a good reason not to, since that is the convention.
Revision 217d0a1 by Hans Goudey (master)
November 19, 2021, 20:57 (GMT)
Cleanup: Use vector instead of linked list
Revision 51a7961 by Hans Goudey (master)
November 19, 2021, 20:36 (GMT)
Cleanup: Simplify node editor link dragging storage

Now that `node_intern.hh` is a C++ header, we can use C++ types
there. This patch replaces the linked list of dragged links with a
vector. Also, the list of drag operator custom data, `nldrag`, doesn't
seem to need to be a list at all, so I just made it a unique pointer.

Differential Revision: https://developer.blender.org/D13252
Revision c3fed4d by Germano Cavalcante (master)
November 19, 2021, 19:57 (GMT)
Merge branch 'blender-v3.0-release'

Revision fb0ea94 by Germano Cavalcante (master)
November 19, 2021, 19:57 (GMT)
Fix T85855: F-curves too thin on Mac

Use the `GPU_SHADER_3D_POLYLINE_UNIFORM_COLOR` shader instead of `GPU_SHADER_2D_LINE_DASHED_UNIFORM_COLOR`.
This is just a partial solution as "protected" fcurves still use the dashed shader.

Differential Revision: https://developer.blender.org/D13290
November 19, 2021, 19:09 (GMT)
Merge branch 'arcpatch-D2624'

Conflicts:
source/blender/editors/transform/transform_input.c
source/blender/editors/transform/transform_ops.c
source/blender/windowmanager/intern/wm_operator_utils.c
November 19, 2021, 19:06 (GMT)
Allow navigating while transforming

Navigating while transforming is not a new idea:
- https://rightclickselect.com/p/ui/Tqbbbc/allow-navigating-while-transforming (See comments);
- {D1583}
- {T37427}

This feature allows us to be more precise where the transformed element will be placed.

This would avoid, for example, the need for the node editor to automatically update the viewport when a node is transformed.

And with {D9415} navigating while transform becomes a necessity because: how could we move from a point at the bottom of one object to the top of another without being able to rotate the view?

##Patch
The patch implements this feature as being experimental (See image):
{F11826349, layout=left, width=600}
Because transform's modal keymaps conflict, two (temporary) operators were created to update the keymap and avoid conflicts.
The main solution in the patch was to create the `bool WM_operator_do_navigation(...);` utility that can be used for any operator.

##Implementation Details
- This feature affects all editors where transforming is possible (UV, VSE, Graph...)
- The Node editor is the only one that, when canceling, the viewport position is reset
- Default modal keymaps need to be edited to avoid conflict (in the patch a temporary operator was implemented to automatically update keymaps)

Differential Revision: https://developer.blender.org/D2624
November 19, 2021, 18:57 (GMT)
USD Import: format fixes.
November 19, 2021, 18:48 (GMT)
USD Preview Surface material import improvements.

Updates to address issues importing USD Preview Surface
materials in Animal Logic's ALab scene, as described in
T90535:

Added support for importing UDIM textures.

Added 'Material Name Collision' USD import menu option,
to specify the behavior when USD materials in different
namespaces have the same name. The options are

Modify: Create a unique name for the imported material.
Skip: Keep the existing material and discard the imported material.

Previously, the default behavior was Skip. This was causing an
issue in the Alab scene, where dozens of different USD materials
all have the same name 'usdpreviewsurface1', so that only one
instance of these materials would be imported.

Finally, if no materials with purpose "render" are assigned to
the USD primitive, the importer will now fall back on converting
assigned materials with purpose "preview".
November 19, 2021, 18:34 (GMT)
Merge branch 'master' into soc-2021-uv-edge-select-support
November 19, 2021, 18:24 (GMT)
Merge branch 'blender-v3.0-release'
November 19, 2021, 18:24 (GMT)
Code cleanup and minor fixes
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021