Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2016-09-07 10:54:50 +0300
committerAntonioya <blendergit@gmail.com>2016-09-07 11:02:52 +0300
commit1263965f83b15e774ab83255030cf25768de5838 (patch)
tree6a75ad2f6bdfd34515af4c7c6a66bfc993c0ea67 /source/blender/makesdna/DNA_scene_types.h
parent008afa446fd3cc134d508f08003a74ed90ba494f (diff)
GPencil: New interpolate strokes operators
Two new modal operators to create a grease pencil interpolate drawing for one frame or a complete sequence between two frames. For drawing the temporary strokes in the viewport, two drawing handlers have been added to manage 3D and 2D stuff. Video: https://youtu.be/qxYwO5sSg5Y The operator shortcuts are Ctrl+E and Ctrl+Shift+E. During the modal operator, the interpolation can be adjusted using the mouse (moving left/right) or the wheel mouse.
Diffstat (limited to 'source/blender/makesdna/DNA_scene_types.h')
-rw-r--r--source/blender/makesdna/DNA_scene_types.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h
index 9f18a702aef..5c5264afcba 100644
--- a/source/blender/makesdna/DNA_scene_types.h
+++ b/source/blender/makesdna/DNA_scene_types.h
@@ -1167,7 +1167,11 @@ typedef enum eGP_BrushEdit_SettingsFlag {
/* apply brush to strength */
GP_BRUSHEDIT_FLAG_APPLY_STRENGTH = (1 << 2),
/* apply brush to thickness */
- GP_BRUSHEDIT_FLAG_APPLY_THICKNESS = (1 << 3)
+ GP_BRUSHEDIT_FLAG_APPLY_THICKNESS = (1 << 3),
+ /* apply interpolation to all layers */
+ GP_BRUSHEDIT_FLAG_INTERPOLATE_ALL_LAYERS = (1 << 4),
+ /* apply interpolation to only selected */
+ GP_BRUSHEDIT_FLAG_INTERPOLATE_ONLY_SELECTED = (1 << 5)
} eGP_BrushEdit_SettingsFlag;