Blender Git Commits

Blender Git commits from all branches.

Page: 971 / 2888

February 9, 2020, 18:06 (GMT)
GPencil: Don't add mask layers to mask list

This avoid cyclic relations
February 9, 2020, 17:16 (GMT)
GPencil: Back Mask Switch to 2 modes: ON/OFF
February 9, 2020, 17:16 (GMT)
GPencil: New list of Masking Layers

This replaces the old unique layer for masking with a full list.
February 8, 2020, 19:23 (GMT)
GPencil: Fix missing eyedropper options in toolbar
February 8, 2020, 17:33 (GMT)
Merge branch 'greasepencil-object' into greasepencil-refactor
February 8, 2020, 17:33 (GMT)
Merge branch 'master' into greasepencil-object
February 8, 2020, 09:46 (GMT)
GPencil: Rename masking layer references when rename mask layer
February 8, 2020, 09:32 (GMT)
GPencil: Use new BKE_gpencil_layer_named_get() instead of generic BLI
February 8, 2020, 09:27 (GMT)
GPencil: Fix compiler warnings
February 8, 2020, 02:00 (GMT)
GPencil: Refactor: Fix display bug of strokes endpoints
February 7, 2020, 22:43 (GMT)
GPencil: Refactor: New linked mask system

The new system is more flexible and a bit simpler from the code side.

Each layer has a mask layer slot. If filled with a correct layer name,
the mask layer will be rendered again in a separate buffer. This buffer
will then be used in the blend pass to modulate the opacity of the layer.

This approach is not 100% equivalent to the standard layering in most 2D
applications if using varying alpha on a mask applied to multiple layers.
However this technique does support any ordering arrangement of the masks.

The layers used as mask can now still render normaly.
February 7, 2020, 18:10 (GMT)
Merge branch 'greasepencil-object' into greasepencil-refactor
February 7, 2020, 18:09 (GMT)
Merge branch 'master' into greasepencil-object
February 7, 2020, 16:51 (GMT)
Cleanup: Animation, removed impossible-to-reach code

While fixing T39207 @aligorith added a threshold to the binary search
function that's used to find the closest keyframe. Since that threshold
is larger than the threshold used in the now-removed code, the condition
in that code will evaluate to true anyway, and thus it can be removed.
February 7, 2020, 16:51 (GMT)
Cleanup: Animation, simplified fcurve_eval_between_keyframes() code

The function now immediately returns the evaluated value, rather than
setting a variable's value and returning that at the end of the
function. As a result, `else`-clauses and `break` statements could be
removed, simplifying and unindenting the code.

Declarations of some variables that are only used in a specific part of
the function have been moved there to clarify and limit their scope.

No functional changes.
February 7, 2020, 16:51 (GMT)
Cleanup: Animation, split fcurve_eval_keyframes() into separate functions

There are three main parts of the `fcurve_eval_keyframes()` function:

- before or on the first keyframe
- after or on the last keyframe
- between those points

These are now separated into separate functions. Apart from moving the
code, there are minimal code/cleanup changes. More cleanups to follow.

No functional changes.
February 7, 2020, 16:51 (GMT)
Animation: added unittests for FCurve evaluation

I want to clean up some of the FCurve evaluation functions by breaking
them up into smaller parts and simplifying some code paths. Before I do
that, however, I want to add some tests to ensure I don't mess up too
much.
February 7, 2020, 16:12 (GMT)
GPencil: Rename collision to boundbox

The initial use of the variables was collision, but now are used for more things, so it's better put a more general name.
February 7, 2020, 15:46 (GMT)
GPencil: Fix merge errors

Also, the modiifer reuse precalculated bounding box data.
February 7, 2020, 15:38 (GMT)
Merge branch 'greasepencil-object' into greasepencil-refactor

Conflicts:
source/blender/blenloader/intern/readfile.c
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021