Blender Git Commits

Blender Git "GPencil_Editing_Stage3" branch commits.

Page: 4 / 8

October 17, 2015, 14:52 (GMT)
GP Edit: "Change Layer" operator - Integrated into the D+W Pie Menu

Create a "Change Stroke" operator for GP Layers which can be used to change
between layers without needing to have the layers list open. This can be
accessed via the D+W pie menu by clicking on the dropdown beside the active
layer's name. Also, added the ability to delete the active layer from the menu too.
October 17, 2015, 14:29 (GMT)
GP Editing: "Move to Layer" operator (MKEY)

This commit adds an operator which can be used to move the selected strokes
to another layer (including to a new layer).

Currently this can only move entire strokes. Later we can check on doing
partial strokes too (just like copy/paste can handle now).
October 17, 2015, 02:41 (GMT)
Merge branch 'master' into GPencil_Editing_Stage3
October 16, 2015, 14:22 (GMT)
Code reshuffle: GP Sculpt brush customdata init is needed for exec() too
October 16, 2015, 14:16 (GMT)
GP Sculpt: More robust checks for empty stroke buffer
October 16, 2015, 14:06 (GMT)
GP Sculpt: Clone Brush - "Use Falloff" = "Smudge"

When the "Use Falloff" option for the Clone brush is enabled, moving the mouse
after pasting some cloned strokes will now allow you to distort the points of
the pasted strokes with non-uniform weights. This can be used for creating
"distortion" effects (similar to using the push brush on these strokes afterwards).
This could be useful as a quick way to get lots of variation to a field of items.
October 16, 2015, 13:53 (GMT)
GP Sculpt: "Clone" Brush

Added a new brush which allows you to paste copies of whatever is on the clipboard
wherever you click. If after clicking you're not yet satisfied with where you clicked,
you can move the mouse to position the new strokes in an alternative place instead.

Future Todo's:
* Check whether this works in all views (especially 2d views)
* Fix version patching

* Remove/disable the UI options for brush size/strength, which currently have no use.
Otherwise, we could experiment with allowing those to be used for a "smudging"
effect, where the strength of the repositioning effect depends on the placement
of the stroke points relative to the cursor.
October 16, 2015, 01:31 (GMT)
GP Editing: Expose the copy-paste buffer within the GPencil module, so more ops can use it
October 16, 2015, 01:30 (GMT)
GP Sculpt: Adding some defines for some new brush types coming soon
October 16, 2015, 01:28 (GMT)
Code cleanups in preparation for next steps
October 10, 2015, 14:07 (GMT)
Fix: Apply same fix from previous commit to the equivalent logic used for GP Sculpt editing
October 10, 2015, 14:06 (GMT)
Fix: The "transform strokes on unkeyed frame creates new frame" feature didn't work on the first frame

As a convenience feature, it is possible to jump to a frame without any existing
GP keyframe, and just use the transform tools to modify the stroke to create a new
keyframe on that frame. However, if the current frame was before the first GP keyframe,
the newly created keyframe would not work (if you scrub away), as it was getting
incorrectly added at the end of the list of keyframes, instead of in-order as expected.
October 10, 2015, 14:00 (GMT)
Fix: When reloading files, stroke editmode was getting disabled

This commit should bring the logic here more into line with what's done for
the posemode toggle.

There's still some weirdness here when clicking on "Object Mode" vs "Edit Strokes"
(i.e. both will just always toggle!), and old files with GP EditMode won't get
the state synced with ob->mode yet.
October 10, 2015, 12:42 (GMT)
Fixes for using tablet events in keymap

* Need to classify tablet events as being in the "mouse" category, or else attempts
to add a new keymap item for this will fail by reverting to keyboard input

* Made event matching more restrictive - it will now trigger only on a tablet events
for LEFTMOUSE events. The problem was that, even when hovering over the tablet
and pressing a key, you'd still get an event with tablet data, which meant that
that event would get wrongly caught and handled.
September 29, 2015, 00:06 (GMT)
GP Sculpt: Tweak the keymaps again

* Added Ctrl-E-LMB and Shift-E-LMB to make it easier to start sculpt strokes
to make it easier to use "invert" (and soon "smooth") with these brushes.

* Removed the Ctrl-E = Modal Sculpt keymapping, to avoid conflicts with the
new additions. D+E+Sculpt still works though
September 28, 2015, 13:21 (GMT)
Merge branch 'master' into GPencil_Editing_Stage3

Conflicts:
source/blender/blenloader/intern/versioning_270.c
September 28, 2015, 13:15 (GMT)
GP Sculpt: Experimenting to make sculpt operator non-modal

Sometimes the modal nature of this operator made it cumbersome to operate.
This commit tries to make this better by making changes to the operator + keymap
so that:

* EKEY + LMB-drag (just like for drawing) = Do a single sculpt stroke
(i.e. it starts immediately, and ends as soon as the stroke ends)

* CTRL + EKEY = Enter Sculpt Mode (as before). Can do multiple strokes this way
without holding down any keys.

* DKEY + EKEY -> Sculpt = Enter Sculpt Mode (as before)


I'm still on the fence about the Ctrl+EKEY one. Perhaps it's too much of a hassle,
and we just drop this one?
September 28, 2015, 12:52 (GMT)
GP Sculpt: Assorted tweaks to investigate problems with Twist brush

* Some of the problems stem from inaccuracies/noise introduced by the 2D -> 3D
conversion that takes place. For some reason, some verts randomly get offsets
when reprojecting everything.

* Twist brush strength isn't 1.0 degree anymore

* It still doesn't work well though :(
September 28, 2015, 11:49 (GMT)
GPencil: Initialise default values for before/after onionskin colours

Newly created layers will now get a pair of default values for the before and after
onion skinning colours. These are currently hardcoded to a green and blue colour
(respectively). Also, "use colours" toggle will be enabled by default, so that these
colours will be applied as soon as you show the onionskins.
September 21, 2015, 13:09 (GMT)
Merge branch 'master' into GPencil_Editing_Stage3
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021