Blender Git Commits

Blender Git "asset-system-filelist" branch commits.

Page: 2 / 12

April 26, 2021, 14:45 (GMT)
Fix uninitialized variable use

Mistake in dc009dd6c1c1.
April 26, 2021, 14:14 (GMT)
Merge remote-tracking branch 'origin/master' into asset-browser-poselib
April 23, 2021, 14:50 (GMT)
T87757: Pose Library: glitch when starting to blend flipped pose

Fix a glitch when blending a pose by always starting blending at 0%.

Previously, the blend percentage was remembered between operator
invocations, causing the glitch.
April 23, 2021, 14:43 (GMT)
Merge remote-tracking branch 'origin/master' into asset-browser-poselib
April 23, 2021, 12:44 (GMT)
Asset Browser: also refresh asset UIlist after other blender closes

The `ASSET_OT_open_containing_blend_file` operator starts a new Blender
process, and refreshes the assets after it quits. It now also refreshes
the assets UIlist (f.e. the pose library panel in the 3D Viewport).
April 23, 2021, 10:20 (GMT)
Merge branch 'master' into asset-browser-poselib
April 22, 2021, 19:13 (GMT)
Avoid warning when using FileSelectEntry.id_type on a non-ID file

If the file doesn't represent an ID, the value will be `'NONE'` in
Python. Otherwise a valid ID type (e.g. `'ACTION'`, `'OBJECT'`, etc.).
April 22, 2021, 14:09 (GMT)
Asset Browser: simple panel mix-in class for specific categories

Add a class `AssetBrowserSpecificCategoryPanel` that only shows if the
asset browser is showing a specific set of categories. This makes it
simple for the Pose Library panels to only show when the user has selected
the Animations category.
April 22, 2021, 09:09 (GMT)
Merge remote-tracking branch 'origin/master' into asset-browser-poselib

I had to manually add a `bContext *` parameter to a
`node_geometry_add_attribute_search_button()` call to fix a compiler
error.
April 20, 2021, 15:46 (GMT)
Asset View: Activate poses when "walk" navigating the active asset

When using the arrow keys to "walk" the active item in the asset view, call the
activate operator which applies the pose asset. This is useful for animators to
easily go through poses on the search for an appropriate one.
April 20, 2021, 14:50 (GMT)
Cleanup: Slightly correct comment from previous commit
April 20, 2021, 14:41 (GMT)
UI Lists: Add Ctrl+F for searching, brings search field into view

The Ctrl+F is a general UI list feature. You can hover any UI list and
press Ctrl+F now to open and activate the search field. If needed the
view is scrolled to make it completely visible (with some additional
margin). Plus, the view is updated to keep the search field visible
while typing.

The latter part is also a text button feature. When you activate a text
button (that doesn't have a search menu attached, which causes further
issues), the UI code makes sure it's visible and keeps it visible while
typing.

This could go into master (after some functionality review), I'll check
on that in a bit.
April 19, 2021, 13:32 (GMT)
Fix missing refresh of Asset View UI template previews after regenerating
April 16, 2021, 13:44 (GMT)
Pose Library: free flipped Action before freeing all temp-loaded data

Free the flipped Action before calling `poselib_tempload_exit()`, to avoid
any problems from indirectly referenced ID pointers.

Thanks @campbellbarton for the patch!
April 16, 2021, 13:33 (GMT)
Merge remote-tracking branch 'origin/master' into asset-browser-poselib
April 16, 2021, 13:32 (GMT)
Revert "Assets: explicitly free the temp-loaded asset datablock"

This reverts commit 1ed2ffa8d07d4921c0ecfa836554ece178c80d6d. The master
branch has a better solution (afd8e4bce7937baf016b973c091da3d954ffaf76)
and will be merged soon.
April 16, 2021, 00:08 (GMT)
Fix crash with "Current File" library and "Reload Scripts"

When a (Python defined) UI-list type is unregistered, we have to make sure no
list still references that type. We do the same for other such UI types.
This didn't happen to be an issue before, since the list type was not accessed
until the list was drawn again (which re-assigns the type).
April 15, 2021, 21:45 (GMT)
Fix C-linkage warning on Clang

After macro expansion, there would be C++ code in code with C linkage
(`extern "C"`). Clang warned about this.
Make sure the expanded C++ code always uses C++ linkage. Will commit this to
master soon.
April 14, 2021, 13:21 (GMT)
Merge branch 'master' into asset-browser-poselib
April 13, 2021, 17:00 (GMT)
Fix compile error when using UIList template flags in C++

C++ has strongly typed enums (which is great!), so a bitwise OR on two
enum values will result in a compiler error. Use our `ENUM_OPERATORS()`
utility to overload the bitwise operations to be valid for this strong
enum type.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021