Blender Git Commits

Blender Git "master" branch commits.

Page: 312 / 5574

April 13, 2021, 11:43 (GMT)
Cleanup: redundant struct declarations
April 13, 2021, 11:36 (GMT)
Fix snap gizmo flickering while dragging

Ignore click-drag for non-mouse button drag events

Alternative to fix issue detailed in D10886.
April 13, 2021, 11:14 (GMT)
Cleanup: preview rendering, push bContext a bit further down the call stack

Pass `bContext *C` a bit further down the call stack, to prevent
exploding the number of parameters of `ED_preview_icon_render()`. An
upcoming change will require access to yet another context member, and
this can now be done without adding yet another parameter.

No functional changes.
April 13, 2021, 11:13 (GMT)
Cleanup: use typing for checking utilities
April 13, 2021, 11:13 (GMT)
Fix T71960: Malformed .bmp files lead to crash

Adds appropriate checks/guards around all the untrusted parameters
which are used for reading from memory.

Validation:
- All the crashing files within the bug have been checked to not causes
crashes any longer>
- A handful of correct .bmp were validated: 3 different files at each
of 1, 4, 8, 24, 32 bpp depth along with a random variety of other 24
bpp files (around 20 in total).
- ~280 million iterations of fuzzing using AFL were completed with 0
crashes. The old code experienced several dozen crashes in first
minutes of running {F8584509}.

Ref D7945
April 13, 2021, 07:49 (GMT)
Motion Tracking: setting Keyframe A & B was not updating UI indicators

Entering the numbers in the keyframe field was not triggering a viewport
update, so the little green lines down in the cache area were only
change when the user e.g. changed the frame.

Now send appropriate notifiers.

Issue spotted in T86456 by sebastian_k.

Maniphest Tasks: T86456

Differential Revision: https://developer.blender.org/D10963
Revision 721ff6a by Falk David
April 13, 2021, 07:47 (GMT)
Fix compile error: Missing include paths

rB8d9fd0427dd6 added the `WITH_GMP` definition but did not append the
include paths.
April 13, 2021, 07:43 (GMT)
CMake: fix error building with the version set to 300

When Blender's minor version was single digits, it wasn't properly
extracted. Resolve by adding zero padding.

Issue raised by @harley in D10954.
April 13, 2021, 07:39 (GMT)
DNA: support int8_t type in DNA structs

Differential Revision: https://developer.blender.org/D8908
April 13, 2021, 07:24 (GMT)
Fix T87400: GPencil change Select Alternate defaults

Now, the Unselect Ends is disabled by default.
April 13, 2021, 05:28 (GMT)
PyAPI: support retrieving the exception when running a string

- Optionally get the error as a single line.
- Support access the error as an allocated string.
- PyC_ExceptionBuffer_Simple was always printing to the `stdout` while
PyC_ExceptionBuffer didn't, now either print to the output.

Without this, callers are unable to do anything with the error string.
Revision 8d9fd04 by Hans Goudey
April 12, 2021, 22:43 (GMT)
Cleanup: Nodes: Use consistent errors for nodes built without features
Revision 1e8a808 by Hans Goudey
April 12, 2021, 21:24 (GMT)
Cleanup: Use C++ types in object_dupli.cc

Using alloca in C++ is not recommended, especially when we have the
blender::Array type that can contain an inline buffer.
April 12, 2021, 18:59 (GMT)
Fix Cycles broken motion blur pass after recent bugfix
April 12, 2021, 18:52 (GMT)
UI: Use Consistent name for select mirror

This commit cleans up the RNA names of select mirror operators so that
they are all "Select mirror".

This makes the select menu in edit/pose mode consistent regardless of
object type.

Differential Revision: https://developer.blender.org/D7356
April 12, 2021, 18:10 (GMT)
Fix T87324: incorrect parametric coordinates with light spread
April 12, 2021, 18:10 (GMT)
Cleanup: fix address sanitizer warning
April 12, 2021, 18:10 (GMT)
Fix T87283: crash with persistent data and motion blur
April 12, 2021, 18:10 (GMT)
Fix T86880: Cycles bevel shader not working after editing world
Revision 2bd9f9d by Julian Eisel
April 12, 2021, 16:48 (GMT)
UI/Nodes: Improve feedback when adding node fails (e.g. on drag & drop)

This is especially useful when trying to add a node group instance, e.g. via
drag & drop from the Outliner or Asset Browser.
Previously this would just silently fail, with no information why. This is a
source of confusion, e.g. earlier, it took me a moment to realize I was
dragging a node group into itself, which failed of course.
Blender should always try to help the user with useful error messages.

Adds error messages like: "Nesting a node group inside of itself is not
allowed", "Not a compositor node tree", etc.

Adds a disabled hint return argument to node and node tree polling functions.
On error the hint is reported, or could even be shown in advance (e.g. if
checked via an operator poll option).

Differential Revision: https://developer.blender.org/D10422

Reviewed by: Jacques Lucke
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021