Blender Git Commits

Blender Git "master" branch commits.

30 minutes ago
Fix T80931: Proporional Editing Cursor Draws Incorrect

The incorrect view was setup so it was drawn in pixel space. This patch
changes it to use UV space.
Revision d72b578 by Bastien Montagne
1 hour 20 min ago
Fix T79373: Forbid painting on linked image.

There is just no reason to support that kind of useless behavior.

Some remote TODO could be to define a process based on liboverride and
layers.
1 hour 23 min ago
Fix T59272: dead particles not included in render, but visible in viewport

The issue was that the pointcache was not storing dead particles,
even though they are displayed. This lead to the rendering issue,
because only alive particles can be read from the point cache in
the frame that is rendered.

This also fixes an issue unrelated to rendering: when dead particles
are displayed, their position is incorrect when some frames are
skipped during playback.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D8907
1 hour 32 min ago
Cleanup: Sculpt/Paint ED code: correct return constant types.

Mainly use false/true for bool, but also a few others.

No change in behavior expected.
2 hours 9 min ago
Fix T66614: Text objects: Truncate overflow for non-top aligned text
4 hours 16 min ago
Cleanup: correct naming IMAGE_Z_DEPTH

IMAGE_DEPTH is used for bit depth.
5 hours 4 min ago
Fix T80520: Tris to Quads ignores UV delimit option
5 hours 5 min ago
Cleanup: balance braces, spelling

Keep braces balanced where possible, even with ifdef's as it avoids
confusions with editors calculating correct indentation level &
finding matching brackets.
Revision e14894a by Hans Goudey
15 hours 45 min ago
Fix T80993: Crash duplicating inactive workspace

We need to check for the property editor's runtime struct
before duplicating it.
16 hours 35 min ago
Fix broken Windows buiilds after own recent commit in read/write code.

Usual issue of win32 not following POSIX standards.
16 hours 37 min ago
Fix (unreported) wrong definition of `ssize_t` for windows.

Since at least MSVC2010 there is a `SSIZE_T` available for windows, use
it to typedef `ssize_t` on this platform.
Revision 5ea1049 by Bastien Montagne
17 hours 27 min ago
Sanitize type 'size' parameters in our read/write file code

This patch tries to sanitize the types of our size parameters across our read
and write code, which is currently fairly inconsistent (using `int`, `uint`,
`size_t`...), by using `size_t` everywhere. Since in Blender file themselves
we can only store chunk of size `MAX_INT`, added some asserts to ensure that
as well.

See {T79561} for details.

Differential Revision: https://developer.blender.org/D8672
19 hours 9 min ago
LibOverride: add checks to RNA collections editing utils.

Collections of liboverride data only support insertion of new items (and
deleting or moving those around). No operation on existing items from linked
data is allowed.

Reflect that in RNA functions used to edit py-defined RNA collections.

Note that this is not ideal currently, it does the job but feedback to
user is rather poor. Ideally add-ons should implement higher-level
checks for override cases in their operators.
19 hours 43 min ago
IDProperties: Add utils to duplicate content of one IDProp into another.
19 hours 43 min ago
RNA access: Add utils to search a collection item from its name, and get both item pointer and its index in the collection.
19 hours 43 min ago
LibOverride: support inserting items in py-defined (IDProp-based) collections.

Supporting IDProperty-based data storage here in a generic way is fairly
simple, unlike actual RNA data (DNA-based), for which getting a proper
generic way to duplicate them from within RNA is currently not really
possible.

Part of T79562.
19 hours 43 min ago
LibOverride: expose `PROPOVERRIDE_LIBRARY_INSERTION` to py-defined properties.

This will allow add-ons to define Collection properties that support
item insertion in library override context.
19 hours 43 min ago
Cleanup: Correct comment in newly added liboverride code for IDProp collections.
20 hours 40 min ago
GPencil: Move Holdout parameter below Base Color

It's better keep this parameter here instead to put it at the end of the panel.
20 hours 40 min ago
GPencil: Small tweak to Fill panel for Holdout

For gradient, put the parameter below both colors.
By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2020