Blender Git Commits

Blender Git "master" branch commits.

Page: 281 / 5574

May 7, 2021, 10:39 (GMT)
Fix strict compiler warning in sequencer code
May 7, 2021, 08:26 (GMT)
VSE: New iterator design

This iterator design provides means to create simple and flexible API
to query and work with collection of strips. It should be used in cases
when conditions require multiple stages of recursive iteration of all
strips or similar complex scenarios.

Quick API overview:
Basic queries are standalone functions that return SeqCollection
Use SEQ_collection_create() and SEQ_collection_free() to construct
such query functions.
Use these functions to get strips of known conditions, like selected
strips, movie strips, muted strips and so on.

Use SEQ_reference_query() when querying strips with relation to
some reference strip. For example to get its effects, strips that have
same type or use same input file and so on.
These aren't standalone functions because often you need to query strips
relative to each strip in collection.

Use SEQ_collection_expand() to query strips relative to each strip
in collection. These will be merged to original collection.

Use SEQ_collection_merge() to merge 2 collections

To iterate collection elements use macro SEQ_ITERATOR_FOREACH()

This API is quite specific, but I think it is best suited for tasks
that are usualy solved in sequencer codebase.

Old sequencer iterator has been completely removed.
SEQ_ALL_BEGIN and SEQ_ALL_END macros re-use new iterator design.

As initial use for this iterator select_grouped_effect_link()
function has been rewritten. It was not only broken, but also it used
DNA fields to aid iterating strips.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D10337
May 7, 2021, 08:18 (GMT)
Merge branch 'blender-v2.93-release'
May 7, 2021, 08:18 (GMT)
Merge branch 'blender-v2.93-release'
May 7, 2021, 08:18 (GMT)
Merge branch 'blender-v2.93-release'
May 7, 2021, 08:18 (GMT)
Merge branch 'blender-v2.93-release'
May 7, 2021, 08:18 (GMT)
Merge branch 'blender-v2.93-release'
May 7, 2021, 08:15 (GMT)
Cleanup: move frame caching into functions
May 7, 2021, 08:15 (GMT)
Fix PlayAnim issue with images gradually loading into cache

Instead of only drawing images on first start, load them into cache.

This resolves a logical problem when images don't load fast enough,
where the animation would load some frames each time until all images
loaded into cache.

In practice this could play back with severe frame skipping many times
times before all images were loaded making playback smooth.

Part of a fix for T81751.
May 7, 2021, 08:15 (GMT)
Cleanup: extract image loading into it's own function
May 7, 2021, 08:13 (GMT)
Cleanup: minor changes from master to avoid merge conflicts
May 7, 2021, 08:13 (GMT)
Fix use of imbuf that was never valid in animation player

Resizing the window would always draw the image with an empty imbuf.
May 7, 2021, 08:05 (GMT)
Merge branch 'blender-v2.93-release'
May 7, 2021, 07:57 (GMT)
VSE: Fix freeing display buffer cache before use

`IMB_display_buffer_release()` was called before `display_buffer` was
used by drawing code. This should not be done as it may cause problems.
May 7, 2021, 07:43 (GMT)
Fix T81751: Use GLSL for better anim player performance

Originally colorspace of float images was converted using CPU.
GLSL will render images much faster.

Originally image was converted to `global_role_default_byte` space,
disregarding view transform and also display device, which now is
possible to specify. These parameters could be set via commandline to
settings used in Blender, however if they are to be set by users, these
needs to be sanitized.
Right now defaults are assumed for device given for
`COLOR_ROLE_DEFAULT_BYTE`. This should produce same behavior as
implemented before.

Together with D11167 animation player performance should be much better.

This code was mostly copy-pasted from sequencer.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D11178
May 7, 2021, 04:47 (GMT)
Geometry Nodes: Add Attribute Curve Map Node

This node has the same functionality as the color and vector curve
mapping nodes in the shader editor. Here is works on every value for
the selected attribute, and it can also output a float value. Other
than that, the implementation is quite straightforward-- almost
completely boilerplate code.

Differential Revision: https://developer.blender.org/D10921
May 7, 2021, 03:36 (GMT)
Cleanup: move UV element keymap items into a loop

Also add explanation for non-obvious dummy key-map item.
May 7, 2021, 01:23 (GMT)
Object Mode: avoid error message with particle-edit mode switch

Mode switching passed through when the mode wasn't supported for all
modes except particle edit-mode.

Add a check to ED_object_mode_compat_test to prevent the error message.
May 7, 2021, 01:23 (GMT)
Cleanup: remove redundant NULL check in ED_object_mode_compat_test
May 7, 2021, 01:23 (GMT)
Cleanup: remove OB_MODE_EDIT from GPencil compatibility check

All callers replace this with OB_MODE_EDIT_GPENCIL.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021