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.
This commit is contained in:
Antonio Vazquez 2019-03-08 16:09:07 +01:00
parent 5c630f8256
commit 7d3979884c
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ GpencilModifierTypeInfo modifierType_Gpencil_Armature = {
/* structName */ "ArmatureGpencilModifierData",
/* structSize */ sizeof(ArmatureGpencilModifierData),
/* type */ eGpencilModifierTypeType_Gpencil,
/* flags */ 0,
/* flags */ eGpencilModifierTypeFlag_SupportsEditmode,
/* copyData */ copyData,