Blender Git Commits

Blender Git "master" branch commits.

18 hours 13 min ago
Add an assert to BKE_icon_changed() that we are actually dealing with ID icon.

Otherwise, ID->obj is an opaque pointer, wrong usage here could lead to
a vast amount of bad things.
18 hours 23 min ago
Fix T54310: Assert when enable Brush custom icon.

We had a mix of two issues here actually:
* First, Brush are currently using their own sauce for custom previews,
this is not great, but moving them to use common ImagePreview system of
IDs is a low-priority TODO. For now, they should totally ignore their
own ImagePreview.
* Second, BKE_icon_changed() would systematically create a PreviewImage
for ID types supporting it, which does not really makes sense, this
function is merely here to 'tag' previews as outdated. Actual creation
of previews is deferred to later, when we actually need them.
18 hours 46 min ago
Cleanup: naming and const parameter.
23 hours 5 min ago
Depsgraph: Support colored addresses in debug prints

Enabled with --debug-depsgraph-pretty, only works with ANSI terminals.

Thanks Bastien for review!
23 hours 14 min ago
Add Truecolor ANSI console constants

They are used to start and end colored output in console.
Use with care, it is up to you to check that console actually
supports Truecolor ANSII.

In thew future we can extend this to other consoles and platforms.
23 hours 18 min ago
Hash: Add utility function to convert address to rgb values

Some magic hashing, will become handy to make debug messages
easier to follow.
1 day and 0 hours ago
Depsgraph: Move evaluation debug prints to depsgraph

This way we can easily control format and keep it consistent.

And also possibly do other trickery, like coloring addresses!
1 day and 5 hours ago
Cleanup: doxy sections for editmesh files.
1 day and 5 hours ago
Cleanup: move mesh mirror functions to own file
1 day and 7 hours ago
Fix T54326: Import Alembic stuck in edit mode

Switch to object mode before doing the import.
1 day and 10 hours ago
Fix T53971: single layer render showing the wrong render layer in image editor.

Original patch Cheryl Chen, extra fixes by Brecht.

Differential Revision:
1 day and 12 hours ago
Code refactor: move OIIO image buffer writing outside session, into callback.

Original patch by Guillaume, modifications by Brecht.

Differential Revision:
1 day and 12 hours ago
GHOST: Support Unity taskbar progress API

Unity itself is deprecated, but the API is also supported by KDE and the GNOME Dock extension,
which means that it will be useful for a wide variety of distributions.

To get a progress bar, the system must have a blender.desktop file and libunity installed.

The need for libunity is annoying, but the only alternative would be to integrate a DBus library...

Reviewers: campbellbarton, brecht

Differential Revision:
March 15, 2018, 10:19 (GMT)
BLI_assert: extract from BLI_utildefines

BLI_utildefines is quite large, defining many unrelated things.
Add BLI_assert to include in inline headers, so math defines don't
pull in too much.
March 15, 2018, 00:12 (GMT)
Missed last commit
March 15, 2018, 00:05 (GMT)
BLI_math: don't use asserts in inline API

Requires BLI_utildefines.h to be included first,
(already noted in other inline code).

Possible alternative could be to move BLI_assert into own header.
March 14, 2018, 17:05 (GMT)
Style cleanup.
March 14, 2018, 16:53 (GMT)
Fix (unreported) broken IDarray case in IDP_EqualsProperties_ex.

For IDProps IDarray, IDP_EqualsProperties was called for each item,
instead of IDP_EqualsProperties_ex, discarding value of `is_strict`

Probably not an issue with current code, though.
March 14, 2018, 15:02 (GMT)
Fix T54319: Crash after double-clicking baked F-curve
March 14, 2018, 14:48 (GMT)
Cleanup: rename BLI_array_count -> len

Match naming convention used everywhere else.
Count should only be used when this isn't directly accessible.
By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2018