Commit: 7d3979884c272ebce0a44ce78c87dde11d8c264a
Author: Antonioya
Date:   Fri Mar 8 16:09:07 2019 +0100
Branches: master
https://developer.blender.org/rB7d3979884c272ebce0a44ce78c87dde11d8c264a

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.

===================================================================

M       source/blender/gpencil_modifiers/intern/MOD_gpencilarmature.c

===================================================================

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,

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to