Blender Git Commits

Blender Git "GPencil_EditStrokes" branch commits.

Page: 7 / 8

October 11, 2014, 11:34 (GMT)
GP Toolbar: Use context properties to detect whether to show or not
October 11, 2014, 10:41 (GMT)
Added convenience utilities to context for accessing current Grease Pencil data
October 11, 2014, 09:02 (GMT)
Grease Pencil layers can be rearranged from the DopeSheet Editor
October 11, 2014, 04:43 (GMT)
Proportional editing now works for Grease Pencil stroke transforms too

There's also support for "connected" propedit mode, but without access to that
in the Object Mode (or in other contexts), it may not be available for use.
(Hence, that support is currently still untested)
October 10, 2014, 23:51 (GMT)
GPencil Stroke Copying: This now copies selected points into separate curves
October 10, 2014, 22:43 (GMT)
Code cleanup: Separated out selection syncing logic for strokes into an API Function
October 10, 2014, 22:36 (GMT)
Trying a different keymap to get these to all play nicely together

* Eraser is now: D Ctrl RMB
* Draw poly is now: D Alt LMB

For reference, the others are:
* Freehand Drawing: D LMB
* Line Drawing: D CTRL LMB

* Select Point Single: D RMB
* Select Point Extend: D Shift RMB
October 10, 2014, 22:29 (GMT)
GPencil: Added operator to allow directly clicking on strokes to select them and their points

* D RMB = Select the stroke point under the cursor
* D Shift RMB = Select the stroke point udner the cursor, while retaining existing selection
* D W = Select whole stroke

As a result of these changes, the eraser has had to be moved to another binding,
i.e. D X. This doesn't really work that great since it starts working immediately.
October 10, 2014, 10:22 (GMT)
GPencil RNA: Changing "select" setting on strokes selects/deselects all points in stroke
October 10, 2014, 08:03 (GMT)
GPencil Stroke Vert drawing: 2nd Attempt

The previous version made it too difficult to identify the selected items.
This time, we make them larger than the base items instead.
October 10, 2014, 06:45 (GMT)
Setting "select" property on GP Points via RNA now syncs the selection status with the stroke

This is a bit clumsy as RNA doesn't give us this info on a plate...
October 10, 2014, 01:00 (GMT)
GP Stroke Edit: Individual points can be transformed
October 10, 2014, 00:30 (GMT)
Locked GP Layers cannot be edited at all - Not even for selection
October 10, 2014, 00:28 (GMT)
GP Stroke Editing: Individual stroke points can now be selected

The selection status of a stroke depends on whether there are any selected points.
Without any selected points, strokes will not be selected.
October 10, 2014, 00:04 (GMT)
Drawing Test: Use theme setting for the base colour of unselected GP Verts when opacity < 1

The intention here is that in this case, the unselected verts will no longer stand out
enough when full opacity is used, as they would all be the same colour.
October 9, 2014, 23:53 (GMT)
Added a dedicated way of drawing selected strokes and their points

This currently uses the theme setting for vertex size for the selected colour of
strokes. For the unselected colour, it still uses the colour of the stroke itself,
which only works well when the strokes are not fully opaque, and also if the
colour of the stroke is not the same as the selected colour.
October 9, 2014, 23:24 (GMT)
Drawing code refactoring: Move out logic for testing if a stroke can be drawn into a separate function
October 9, 2014, 22:48 (GMT)
Bugfix: Wrong label for scale operator in toolbar
September 29, 2014, 12:55 (GMT)
DNA support for tagging individual stroke points as being selected
September 29, 2014, 12:46 (GMT)
Code cleanup - Replace #defines with enums
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021