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:
authorAntony Riakiotakis <kalast@gmail.com>2015-04-01 12:24:26 +0300
committerAntony Riakiotakis <kalast@gmail.com>2015-04-01 12:24:58 +0300
commit8e6e7010bc8ee8a2133939cd106fd0a22ea5e244 (patch)
tree274d8502589ba2c5bf132bb7c355834383c02a4a /source/blender/editors/transform/transform_generics.c
parentaf399884e16e263062e19ed921608d1003e62f6d (diff)
Proportional editing for graph editor did not work outside edit mode
Diffstat (limited to 'source/blender/editors/transform/transform_generics.c')
-rw-r--r--source/blender/editors/transform/transform_generics.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_generics.c b/source/blender/editors/transform/transform_generics.c
index eb68e54b4b8..14ae93d1144 100644
--- a/source/blender/editors/transform/transform_generics.c
+++ b/source/blender/editors/transform/transform_generics.c
@@ -1320,7 +1320,10 @@ 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->obedit) {
+ if (t->spacetype == SPACE_IPO) {
+ t->flag |= T_PROP_EDIT;
+ }
+ else if (t->obedit) {
t->flag |= initTransInfo_edit_pet_to_flag(ts->proportional);
}
else if (t->options & CTX_GPENCIL_STROKES) {