Blender Git Commits

Blender Git "master" branch commits.

Page: 704 / 5574

June 29, 2020, 15:28 (GMT)
RNA: properly tag 'embedded' ID pointers as owned.

This is important at several level, mainly for overrides currently.

Note that this also includes shape keys, since from RNA point of view
those are also 'embedded' (they are not editable, not linkable, ...).
June 29, 2020, 15:28 (GMT)
LibOverride: ignore all data arrays of meshes.

Those are not overridable, and comparing them is... costly.
June 29, 2020, 15:28 (GMT)
RNA: Add a way to prevent automatic addition of 'no ownership' flag for ID pointer properties.

Since makesrna runs after all properties have been defined, we have to
remember with a new internal flag when we explicitely disable the
'PROP_PTR_NO_OWNERSHIP' flag for a property.

Otherwise there was no way to do so for ID pointer properties...
June 29, 2020, 15:28 (GMT)
Fix ShapeKeys not being deleted together with their owner ID.

Consistency with e.g. copying (copying a mesh also duplicates its
shapekey typically).

Baby step towards getting rid of this horrible ID, some day...

Note that for now we only do that when taking BMain into account, fancy
code dealing with non-main IDs and such has to deal with those itself.
June 29, 2020, 15:28 (GMT)
Fix ID_swap not keeping original recalc flags.

Note that we might be missing more things there still, maybe some tags
e.g. should also be swapped?
June 29, 2020, 15:28 (GMT)
Add utils to remove an ID from the relations runtime data in Main.
June 29, 2020, 15:27 (GMT)
Cleanup: make some type casts explicit

Doing this so that I turn this into a .cc file.
June 29, 2020, 15:25 (GMT)
Fix T78323: Enable Unified and Secondary colors for Scultp Vertex Colors

The report does not include any file, but probably that file is using the
settings for unified colors, which are currently not available in the UI,
so it always paints black. This enables unified colors and secondary
colors for sculpt vertex colors, so it should solve that issue.

Unified color does not make much sense now as the Paint tool is the only
one that has paint capabilities, but it will do in the future when
sculpt and paint at the same time is enabled and the paint capability is
added to more tools.

Reviewed By: sergey

Maniphest Tasks: T78323

Differential Revision: https://developer.blender.org/D8136
June 29, 2020, 15:23 (GMT)
Fix Smear Tool too weak on high poly meshes

The defaults for the Smear tool were making it too weak in high poly
meshes, specially the alpha/pressure option enabled by default. Now this
option is disabled, it has a linear pressure curve and less spacing.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D8134
June 29, 2020, 15:18 (GMT)
Transform: Draw edge considered in the slide value

Useful for identifying how the value is used and which edge
is considered in the snap.
June 29, 2020, 14:38 (GMT)
Fix T77946: Problem snapping with "Project onto Self" on a curve with generated geometry
June 29, 2020, 13:47 (GMT)
GPencil: Cleanup function names replace gp_ by gpencil_ prefix (cont)

June 29, 2020, 13:47 (GMT)
GPencil: Cleanup function names replace gp_ by gpencil_ prefix

June 29, 2020, 13:47 (GMT)
GPencil: Cleanup - Rename some functions from gp_ to gpencil_

June 29, 2020, 13:47 (GMT)
GPencil: Cleanup - Rename annotation function to new prefix

These functions were using the old gpencil or gp prefix.
June 29, 2020, 13:38 (GMT)
Fix T78361: Crash When Modelling

Forgot to free the tangent layer for bmesh in the drawing code.
June 29, 2020, 13:21 (GMT)
Depsgraph: introduce blender::deg namespace

Reviewers: sergey

Differential Revision: https://developer.blender.org/D8150
June 29, 2020, 13:02 (GMT)
Fix T74290 Face Dots in front (X-ray) Visual Glitch

This is not likely to be the silver bullet but it fix the common case.
June 29, 2020, 12:47 (GMT)
Cleanup: use blender::bke namespace in simulation.cc
June 29, 2020, 12:33 (GMT)
Cleanup: reduce code indentation and simplify some code flow
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021