Blender Git Commit Log

All Blender Git commits.

Page: 2514 / 8462

May 16, 2019, 10:03 (GMT)
GPencil: New filter in Onion by keyframe type

This new filter allows to select only some type of keyframe (keyframe, breakdown, etc).

This was a request of artists that are used to work with other 2D softwares.
May 16, 2019, 10:03 (GMT)
Merge branch 'master' into greasepencil-object
May 16, 2019, 10:02 (GMT)
use StringRef and ArrayRef in more places
May 16, 2019, 09:52 (GMT)
use ArrayRef in more places
May 16, 2019, 09:51 (GMT)
Cycles: Don't advertise BVH8 being supported on 32bit platforms

The kernel does not use AVX2 vectorization, and trying to use BVH8 was
leading to an empty scenes.

Fixes T64624: Ctest : Win32 + AVX2 fails virtually all cycles tests
May 16, 2019, 09:49 (GMT)
Dependency graph API changes

Main goal here is to make it obvious and predictable about
what is going on.

Summary of changes.

- Access to dependency graph is now only possible to a fully evaluated
graph. This is now done via context.evaluated_depsgraph_get().

The call will ensure both relations and datablocks are updated.

This way we don't allow access to some known bad state of the graph,
and also making explicit that getting update dependency graph is not
cheap.

- Access to evaluated ID is now possible via id.evaluated_get().

It was already possible to get evaluated ID via dependency graph,
but that was a bit confusing why access to original is done via ID
and to evaluated via depsgraph.

If datablock is not covered by dependency graph it will be returned
as-is.

- Similarly, request for original from an ID which is not evaluated
will return ID as-is.

- Removed scene.update().

This is very expensive to update all the view layers.

- Added depsgraph.update().

Now when temporary changes to objects are to be done, this is to
happen on original object and then dependency graph is to be
updated.

- Changed object.to_mesh() to behave the following way:

* When is used for original object modifiers are ignored.

For meshes this acts similar to mesh-copy, not very useful but
allows to keep code paths similar (i.e. for exporter which has
Apply Modifiers option it's only matter choosing between original
and evaluated object, the to_mesh() part can stay the same).

For curves this gives a mesh which is constructed from displist
without taking own modifiers and modifiers of bevel/taper objects
into account.

For metaballs this gives empty mesh.
Polygonization of metaball is not possible from a single object.

* When is used for evaluated object modifiers are always applied.

In fact, no evaluation is happening, the mesh is either copied
as-is, or constructed from current state of curve cache.

Arguments to apply modifiers and calculate original coordinates (ORCO,
aka undeformed coordinates) are removed. The ORCO is to be calculated
as part of dependency graph evaluation.

File used to regression-test (a packed Python script into .blend):

{F7033464}

Patch to make addons tests to pass:

{F7033466}

NOTE: I've included changes to FBX exporter, and those are addressing
report T63689.

NOTE: All the enabled-by-default addons are to be ported still, but
first want to have agreement on this part of changes.

NOTE: Also need to work on documentation for Python API, but, again,
better be done after having agreement on this work.

Reviewers: brecht, campbellbarton, mont29

Differential Revision: https://developer.blender.org/D4834
May 16, 2019, 09:49 (GMT)
Depsgraph: Add queries whether ID is original/evaluated
May 16, 2019, 09:46 (GMT)
use ArrayRef in more places
May 16, 2019, 09:46 (GMT)
UI: use HIDE_HEADER for active tool in properties editor

Unfortunately this isn't yet compatible with category tabs,
define a duplicate panel only for the properties editor.
May 16, 2019, 09:40 (GMT)
less usage of InputParameter and OutputParameter type
May 16, 2019, 09:13 (GMT)
Fix T64660: no access to node connectors when a node is inside a layout frame.

Note that the same issue actually showed without a frame node, when
trying to click-drag on a socket on its 'inside node' part, you would get
same behavior.

Only solution I can see here is to prevent Node selection to go on when
user clicks on one of its sockets, there is no way afaik to make
drag-from-socket to start if we keep select-node operator running
modal, since both operators (NODE_OT_select and NODE_OT_link) use the
same shortcut, if select (which is checked first, being a Tool) returns
modal, then event is considered handled it seems, even though
Passthrough is also returned...
May 16, 2019, 09:02 (GMT)
RNA: new FCurve.is_empty property that exposes the new empty curve check.
May 16, 2019, 08:46 (GMT)
use new FunctionBuilder instead of creating Signature manually
May 16, 2019, 08:27 (GMT)
GHOST: add header to display manager

Was relying on the header recently removed from GHOST_Rect.h,
for some reason only some systems give issues here.
May 16, 2019, 08:20 (GMT)
Minor change to last commit

Don't show a background for the toolbar.
May 16, 2019, 08:15 (GMT)
windows build fix
May 16, 2019, 08:07 (GMT)
UI: Draw background for headerless panels with region-overlap

These were drawing without a backdrop.
May 16, 2019, 06:48 (GMT)
Fix T64681: evaluate curves with generative modifiers and no keys.

Introduce a new function and use it everywhere, including
automatic curve deletion checks to guarantee consistency.
May 16, 2019, 04:54 (GMT)
Cleanup: redundant headers mixed in with code
May 16, 2019, 04:43 (GMT)
Fix T64642: Reset to default preferences glitch
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021