Fix T42972: fcurve lasso select crash
This commit is contained in:
parent
93c4ba7b70
commit
296a92f5f3
Notes:
blender-bot
2023-02-14 09:42:32 +01:00
Referenced by issue #42993, Blender crashes when user use lasso tool in Graph editor Referenced by issue #42972, Crash when using Lasso select in Graph Editor
|
@ -249,7 +249,7 @@ static void borderselect_graphkeys(
|
|||
data_lasso->rectf_scaled = &scaled_rectf;
|
||||
ked.data = data_lasso;
|
||||
}
|
||||
if (mode == BEZT_OK_REGION_CIRCLE) {
|
||||
else if (mode == BEZT_OK_REGION_CIRCLE) {
|
||||
struct KeyframeEdit_CircleData *data_circle = data;
|
||||
data_circle->rectf_scaled = &scaled_rectf;
|
||||
ked.data = data;
|
||||
|
|
Loading…
Reference in New Issue