Blender Git Loki

Blender Git commits from all branches.

Page: 2126 / 2888

December 13, 2015, 07:33 (GMT)
Merge branch 'master' into GPencil_Editing_Stage3
December 13, 2015, 07:29 (GMT)
Revert previous eraser tweak - It made using the mouse to erase too difficult
December 13, 2015, 00:04 (GMT)
GP Sculpt: Cleanup old comments and some debug prints
December 12, 2015, 23:53 (GMT)
GPencil EditMode Keymap: Asterisk/Star Key on Numpad can be used to toggle Isolate Layers
December 12, 2015, 23:46 (GMT)
GPencil Eraser: Some tweaks to eraser strength

Damping factors make the eraser too hard to use in general cases, so leaving as-is.
December 12, 2015, 23:25 (GMT)
Fix: Header help text was not defined for Grease Pencil "Poly" drawmode
December 12, 2015, 23:21 (GMT)
GPencil UI: Added a few extra icons for decoration
December 12, 2015, 23:02 (GMT)
GPencil EditMode Keymap: Alt-C now activates the "Convert" tool for Grease Pencil (instead of the object-mode one)
December 12, 2015, 23:01 (GMT)
Code Cleanup: Remove code for old GP eraser
December 12, 2015, 14:23 (GMT)
GPencil Eraser: Eraser is now pressure sensitive

Instead of immediately erasing points, the eraser now first reduces the thickness
of the stroke points before culling the ones that have become overly thin (and
cannot be rendered properly anyway as a result). It is also pressure sensitive now,
and has a linear falloff effect (i.e. points further away from the center of the
eraser circle get affected less). This should make it easier to use to eraser to
make fine adjustments to your sketches.

Notes:
* The eraser has been rewritten to use a new algorithm. Specifically, it now takes
advantage of the stroke point deletion methods developed for the Delete operator
instead of it's own buggy split-and-delete methods (which were only removing
a single point from each stroke each time).

* In tests so far, it seems to allow a wider range of control over what gets erased
and what doesn't. Pressing hard (or using a mouse) should still just erase everything
with relative ease still.

* The way that this behaves could still do with some tweaking. In particular, care
is needed when trying to use the eraser to "lighten up" tips of thin bunches of
strokes (e.g. eyebrows/moustaches), as it still tends to gobble these up too much.
We could probably do with some tool settings to control the eraser strength.
December 12, 2015, 13:30 (GMT)
Fix: Delete tagged GPencil stroke points now adjusts timing info

gp_stroke_delete_tagged_points() now adjusts timing data for stroke points
to ensure that all the timing info will be valid after creating the new
stroke segments (from splitting the original stroke).

Several other tools need to be modified to do this still (e.g. Copy and Duplicate)
December 12, 2015, 11:45 (GMT)
GPencil: Code cleanup - Moved logic for removing selected/tagged points from strokes into a separate function
December 12, 2015, 11:40 (GMT)
New data type for constant (!) strings.

The const-ness is very important: strings are only stored as const char*
on the stack, which point to memory inside the instructions list.
The instructions contain the actual char array, with a null terminator.

This does not allow allocating new strings during eval, but it makes
it possible to use static strings as identifiers and keys for global data.
Eventually we could allow string operations through an allocation system
similar to DerivedMesh handling, with init/release nodes to manage
alloc/free.
December 12, 2015, 10:56 (GMT)
Merge branch 'master' into object_nodes
December 12, 2015, 04:52 (GMT)
Compile fix for changes from master
December 12, 2015, 04:43 (GMT)
Merge branch 'master' into GPencil_Editing_Stage3

Conflicts:
source/blender/editors/transform/transform_manipulator.c
December 11, 2015, 23:26 (GMT)
Code Cleanup: Move away from inlined math for the eraser tests
December 11, 2015, 17:30 (GMT)
Use the relative transform of target objects and the modified object to adjust modifiers.

This affects modifiers which use an external target object (currently
boolean and curve path). The modified object is a graph input argument,
which the target object is looked up via its key. The relative transform
means the values calculated from external geometry are always in the
modified object's local space.

Note that transform and its inverse are provided explicitly to nodes.
This will allow optimization for constants later on.
December 11, 2015, 15:24 (GMT)
Merge branch 'master' into object_nodes
December 11, 2015, 15:11 (GMT)
Boolean modifier node, based on the new bmesh boolean operations.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021