diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-04-07 17:45:29 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-04-07 21:49:47 +0300 |
commit | c1e5d966c60876453dc7b66e0c23065088e8b94b (patch) | |
tree | bbb0de803794f6a39765c76f487bc9523b58a90a /source/blender/editors/transform/transform_generics.c | |
parent | 662c2cd9105c43f2c21c511a68d45cef719ef9c9 (diff) |
Proportional editing support for the action editor.
There are a few things here which are not so nice:
* Position of proportional edit circle is not centered on data
(difficult to predict positions here since those are completely custom,
will probably be positioned at center of area later instead)
* Result is flushed to curve handles only at the end of the transform,
so if people have the graph editor open they will see handles lagging behind.
Diffstat (limited to 'source/blender/editors/transform/transform_generics.c')
-rw-r--r-- | source/blender/editors/transform/transform_generics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_generics.c b/source/blender/editors/transform/transform_generics.c index 0571fc399a6..27a072c301b 100644 --- a/source/blender/editors/transform/transform_generics.c +++ b/source/blender/editors/transform/transform_generics.c @@ -1320,7 +1320,7 @@ void initTransInfo(bContext *C, TransInfo *t, wmOperator *op, const wmEvent *eve /* use settings from scene only if modal */ if (t->flag & T_MODAL) { if ((t->options & CTX_NO_PET) == 0) { - if (t->spacetype == SPACE_IPO) { + if (ELEM(t->spacetype, SPACE_IPO, SPACE_ACTION)) { t->flag |= initTransInfo_edit_pet_to_flag(ts->proportional); } else if (t->obedit) { |