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>2019-03-08 18:09:07 +0300
committerAntonioya <blendergit@gmail.com>2019-03-08 18:09:20 +0300
commit7d3979884c272ebce0a44ce78c87dde11d8c264a (patch)
tree80ed13c9499df5c0c8e37731de59d6d42be52589 /source/blender/gpencil_modifiers/intern/MOD_gpencilarmature.c
parent5c630f8256fcf798b59c20a870282668ec8f2d4c (diff)
GPencil: Make visible Armature modifier in edit mode
This change displays the stroke in the deformed position, but the edition is done in rest position. This is no the final solution, but at least we have some visual feedback in edit mode. The real solution is to create a full system to manage derived strokes in Edit mode, but this needs a lot of work and we haven't resources now to do it.
Diffstat (limited to 'source/blender/gpencil_modifiers/intern/MOD_gpencilarmature.c')
-rw-r--r--source/blender/gpencil_modifiers/intern/MOD_gpencilarmature.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencilarmature.c b/source/blender/gpencil_modifiers/intern/MOD_gpencilarmature.c
index f3448fe2c1c..11e648e355d 100644
--- a/source/blender/gpencil_modifiers/intern/MOD_gpencilarmature.c
+++ b/source/blender/gpencil_modifiers/intern/MOD_gpencilarmature.c
@@ -178,7 +178,7 @@ GpencilModifierTypeInfo modifierType_Gpencil_Armature = {
/* structName */ "ArmatureGpencilModifierData",
/* structSize */ sizeof(ArmatureGpencilModifierData),
/* type */ eGpencilModifierTypeType_Gpencil,
- /* flags */ 0,
+ /* flags */ eGpencilModifierTypeFlag_SupportsEditmode,
/* copyData */ copyData,