Fix #28651: dopesheet crash when configuring keymap to use translate tool.
This doesn't work, needs to be time translate, but we can avoid the crash.
This commit is contained in:
@@ -3296,6 +3296,11 @@ int Trackball(TransInfo *t, const int UNUSED(mval[2]))
|
||||
|
||||
void initTranslation(TransInfo *t)
|
||||
{
|
||||
if (t->spacetype == SPACE_ACTION) {
|
||||
/* this space uses time translate */
|
||||
t->state = TRANS_CANCEL;
|
||||
}
|
||||
|
||||
t->mode = TFM_TRANSLATION;
|
||||
t->transform = Translation;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user