Blender Git Commits

Blender Git "GPencil_FillStrokes" branch commits.

Page: 4 / 6

October 12, 2014, 05:50 (GMT)
Added "gpencil_data_owner" to context for getting the struct/datablock which references the "gpencil_data" instance
October 12, 2014, 04:36 (GMT)
Change order of Grease Pencil drawing tools in the toolshelf

Draw and Erase are now on the same row, while the two line-segment drawing modes
are on the bottom row.
October 12, 2014, 04:33 (GMT)
Rename "Stroke Tools" panel to "Edit Strokes"
October 12, 2014, 04:33 (GMT)
GPencil Toolshelf Panels - Split into two panels

* Split Grease Pencil toolshelf panels into 2: One for drawing tools, and the
other for the new stroke-editing tools

* Added support for Grease Pencil toolshelf panels in Node Editor. As this gets
added before all the other bits and pieces, this currently becomes the first
tab in the menu (which is not what we want). This will do for now, since I'm not
sure what alternatives to doing it this way exist.
October 12, 2014, 04:17 (GMT)
GPencil Toolshelf Panel: Add "drawing settings" to toolshelf

The "Drawing Settings" displayed at the bottom of the Grease Pencil data panel
(Properties Region) is now included in the toolshelf too. These really make more
sense here, as they affect how the tool will behave (while the Properties Region
is more how it gets displayed).

However, we can't fully move over to the toolbar yet, since the VSE still lacks
a toolbar for this. Every other place (View3D, MovieClip, Image) all have their
own toolbars now.
October 11, 2014, 13:54 (GMT)
GPencil UI: Experimental "tool palette" pie menu

Double-tapping D brings up a pie menu providing access to many of the different
Grease Pencil drawing and editing tools.

The current implementation is a quick test of how this could work.
* Double-tapping D is the best compromise I managed to find so far which allows
the pie to show, but without getting triggered everytime something else happens
* I've left off one or two tools since they didn't work terribly well,
as they rely on mouse position at time of invocation
* Even now, the drawing tools take a little getting used to (i.e. you must immediately
start drawing once you click. But, once gotten used to, it seems to be ok...
October 11, 2014, 12:38 (GMT)
Code cleanup: Moving from custom macro-based loopers to the context-based method
October 11, 2014, 12:16 (GMT)
GPencil Context Utility API's now work

To work around the bizarre "active object == NULL" issues when doing context
lookups, we now use the "context-free" direct-access API method for getting
the active Grease Pencil data.
October 11, 2014, 12:06 (GMT)
GPencil API - API for getting active GP data without context
October 11, 2014, 11:59 (GMT)
Note on current bugs which prevent this from working...
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.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021