Blender Git Loki

Blender Git "GPencil_EditStrokes" branch commits.

Page: 8 / 8

September 29, 2014, 12:11 (GMT)
GPencil Strokes - D+M can be used to mirror strokes now
September 29, 2014, 00:03 (GMT)
Grease Pencil Dopesheet - Selecting channels in the dopesheet changes active layer
September 28, 2014, 15:36 (GMT)
Fix: Node editor redraws properly after stroke selection changes
September 28, 2014, 15:26 (GMT)
Toolbar buttons for Grease Pencil editing operators

TODO: Next up, a Pie Menu (bound to DKEY) would be a nice complement for this
September 28, 2014, 15:25 (GMT)
GPencil Stroke Duplicate operator is now a macro which combines the copy and move into a single step
September 28, 2014, 15:25 (GMT)
Fix: Resolved crash when toggling selection of strokes
September 28, 2014, 15:25 (GMT)
Fix: Skip recalc_data() processing for strokes

This isn't needed right now, but it also shouldn't just fall through to object handling
September 28, 2014, 15:25 (GMT)
Add more sanity check error prints
September 28, 2014, 15:25 (GMT)
Bugfix: Fix for crash after transforming strokes
September 28, 2014, 15:25 (GMT)
Transform tools for Grease Pencil strokes

Selected strokes can now be transformed (translated, rotate, scaled), using:
* D+G = Grab/Move
* D+R = Rotate
* D+S = Scale

Things are still rough around the edges though, and may not work well in all
cases yet. Known todos:
* There's an occasional crash after duplicating and moving a stroke
* 2D strokes (and other editors) may not work well yet
* Need to check on the case when there is no active object
September 28, 2014, 15:25 (GMT)
GPencil - Added operator to copy selected strokes
September 28, 2014, 15:25 (GMT)
Code cleanups
September 28, 2014, 15:25 (GMT)
Replaced inline GP stroke-looping logic with macro-based iterators

These are quite rough, and we may yet just dump this info in Context instead
using the standard techniques...
September 28, 2014, 15:25 (GMT)
GP Circle Select

It's now possible to use Circle/Brush Select (D+C) to select individual Grease Pencil
strokes. This will eventually be useful for editing operations using these.

Implementation Notes:
* This is currently a quick and dirty implementation, which just copies and pastes
some of the logic from the eraser, and reuses some of the same utility functions
too.
* The shared methods are now exposed internally for use in the gpencil module.
Perhaps they should eventually get their own dedicated section/file?
September 28, 2014, 15:25 (GMT)
GPencil Strokes: Select All Operator

Added a "Select All" operator for Grease Pencil strokes which will
select all strokes on visible layers.

Usage:
* <D> A = Select All (i.e. hold down D and press A)
* <D> Ctrl I = Invert All (NOTE: this one may be removed, as it's quite awkward)
September 28, 2014, 15:25 (GMT)
Added a "select" property to GPencil strokes

This property doesn't serve much purpose yet, but will soon be used to tag strokes
for modification by "in-viewport" stroke editing tools.

As a temporary visualisation hack, this uses the abandoned "debug" drawing mode
code, which plots out all the points of the stroke. We might want to replace this
with something nicer later, but this will do for now.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021