Proportional editing for graph editor did not work outside edit mode

This commit is contained in:
Antonis Ryakiotakis 2015-04-01 11:24:26 +02:00
parent af399884e1
commit 8e6e7010bc
1 changed files with 4 additions and 1 deletions

View File

@ -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) {