Blender Git Commits

Blender Git "master" branch commits.

Page: 1849 / 5574

March 16, 2018, 16:49 (GMT)
Some more minor cleanups.
March 16, 2018, 16:17 (GMT)
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.
March 16, 2018, 16:06 (GMT)
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.
March 16, 2018, 15:44 (GMT)
Cleanup: naming and const parameter.
March 16, 2018, 11:26 (GMT)
Merge branch 'master' into blender2.8
March 16, 2018, 11:24 (GMT)
Depsgraph: Support colored addresses in debug prints

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

Thanks Bastien for review!
March 16, 2018, 11:16 (GMT)
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.
March 16, 2018, 11:11 (GMT)
Hash: Add utility function to convert address to rgb values

Some magic hashing, will become handy to make debug messages
easier to follow.
March 16, 2018, 10:24 (GMT)
Merge branch 'master' into blender2.8
March 16, 2018, 10:14 (GMT)
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!
March 16, 2018, 07:50 (GMT)
GWN: Uncomment a (now) usefull assert
March 16, 2018, 07:50 (GMT)
Eevee: Add warning comment about ubo/texture persistence.

More info on bindings persistence here :
8a692da7f81d8b0798f4aeebaa4a1123693fc279
March 16, 2018, 07:50 (GMT)
Clay: Small cleanup.

Use persistent binds for the texture and UBOs.
Remove use of stencil.
March 16, 2018, 07:50 (GMT)
DRW: Fix/refactor UBO & Texture binding.

Previous approach was not clear enough and caused problems.
UBOs were taking slots and not release them after a shading group even
if this UBO was only for this Shading Group (notably the nodetree ubo,
since we now share the same GPUShader for identical trees).

So I choose to have a better defined approach:
- Standard texture and ubo calls are assured to be valid for the shgrp
they are called from.
- (new) Persistent texture and ubo calls are assured to be valid accross
shgrps unless the shader changes.

The standards calls are still valids for the next shgrp but are not assured
to be so if this new shgrp binds a new texture.

This enables some optimisations by not adding redundant texture and ubo
binds.
March 16, 2018, 06:04 (GMT)
Merge branch 'master' into blender2.8
March 16, 2018, 05:29 (GMT)
Cleanup: doxy sections for editmesh files.
March 16, 2018, 05:29 (GMT)
Cleanup: move mesh mirror functions to own file
March 16, 2018, 04:08 (GMT)
Code cleanup: fix various compiler warnings on clang/macOS.
March 16, 2018, 03:35 (GMT)
Merge branch 'master' into blender2.8
March 16, 2018, 03:06 (GMT)
Fix T54326: Import Alembic stuck in edit mode

Switch to object mode before doing the import.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021