Blender Git Loki

Git Commits -> Revision 5c74db4

Revision 5c74db4 by Joshua Leung (master)
October 5, 2008, 11:49 (GMT)
Grease Pencil:

* Separated duplicate methods out into several functions

* Added copy/paste for gp-frames in Action Editor. Only strokes that are appropriate for the spacetype that the destination layer belongs to will be added to avoid wasted memory usage. Otherwise, was impossible to move sketches between views/layers (which was intended for PyAPI access that didn't get done).

Note: there will currently still be an extra gp-frame created, even if the current no strokes got pasted. There's commented out code which would delete it, but somehow that causes errors, so better to be safe for now.

Commit Details:

Full Hash: 5c74db4e4e004acf5e49c8627c59e0d95d35e4ae
SVN Revision: 16931
Parent Commit: af7033b
Lines Changed: +330, -51

6 Modified Paths:

/source/blender/include/BDR_gpencil.h (+3, -1) (Diff)
/source/blender/include/BIF_editaction.h (+4, -0) (Diff)
/source/blender/src/editaction_gpencil.c (+209, -8) (Diff)
/source/blender/src/gpencil.c (+87, -26) (Diff)
/source/blender/src/header_action.c (+26, -16) (Diff)
/source/blender/src/usiblender.c (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021