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:
authorPhilipp Oeser <info@graphics-engineer.com>2020-04-06 15:49:29 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2020-04-10 09:38:34 +0300
commitd3cda49d143c455ae5c1093f3a5ce448c7de6ed3 (patch)
tree13e188848b4385b4b448278d1755b18922fb77cd /source/blender/editors/transform/transform.c
parent337a7ed292638542f702f1ce2119dc73072f0b56 (diff)
Fix T74657: Grease Pencil Proportional Editing does not work for
'Individual Origins' Note gpencil doesnt do anything fancy like meshes in editmesh_islands_info_calc(), but it looks like there is actually no harm in allowing proportional editing with individual origins & gpencil editmode. Maniphest Tasks: T74657 Differential Revision: https://developer.blender.org/D7351
Diffstat (limited to 'source/blender/editors/transform/transform.c')
-rw-r--r--source/blender/editors/transform/transform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c
index c1e890ed5f1..d0866968daa 100644
--- a/source/blender/editors/transform/transform.c
+++ b/source/blender/editors/transform/transform.c
@@ -77,7 +77,7 @@ static void initSnapSpatial(TransInfo *t, float r_snap[3]);
bool transdata_check_local_islands(TransInfo *t, short around)
{
- return ((around == V3D_AROUND_LOCAL_ORIGINS) && ((ELEM(t->obedit_type, OB_MESH))));
+ return ((around == V3D_AROUND_LOCAL_ORIGINS) && ((ELEM(t->obedit_type, OB_MESH, OB_GPENCIL))));
}
/* ************************** SPACE DEPENDENT CODE **************************** */