Blender Git Commit Log

Git Commits -> Revision 299bb01

Revision 299bb01 by Joshua Leung (master)
August 29, 2016, 02:51 (GMT)
GPencil: "Reproject Strokes" operator

A common problem encountered by artists was that they would accidentally move
the 3D cursor while drawing, causing their strokes to end up in weird places in
3D space when viewing the drawing again from other perspectives.

This operator helps fix up this mess by taking the selected strokes, projecting them
to screenspace, and then back to 3D space again. As a result, it should be as if
you had directly drawn the whole thing again, but from the current viewpoint instead.
Unfortunately, if there was originally some depth information present (i.e. you already
started reshaping the sketch in 3D), then that will get lost during this process.
But so far, my tests indicate that this seems to work well enough.

Commit Details:

Full Hash: 299bb019b5e5bf48098a85f510d3daaaa99f53d5
Parent Commit: dec7145
Lines Changed: +156, -0

5 Modified Paths:

/release/scripts/startup/bl_ui/properties_grease_pencil_common.py (+4, -0) (Diff)
/source/blender/editors/gpencil/gpencil_edit.c (+80, -0) (Diff)
/source/blender/editors/gpencil/gpencil_intern.h (+13, -0) (Diff)
/source/blender/editors/gpencil/gpencil_ops.c (+2, -0) (Diff)
/source/blender/editors/gpencil/gpencil_utils.c (+57, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021