Fix [#37324] Crash, calling Warp operator in Outliner
Warp needs a valid 3DView region...
This commit is contained in:
parent
6c4b06a46d
commit
c8e2b54ce2
|
@ -706,7 +706,7 @@ static void TRANSFORM_OT_warp(struct wmOperatorType *ot)
|
|||
ot->exec = transform_exec;
|
||||
ot->modal = transform_modal;
|
||||
ot->cancel = transform_cancel;
|
||||
ot->poll = ED_operator_screenactive;
|
||||
ot->poll = ED_operator_region_view3d_active;
|
||||
|
||||
RNA_def_float_rotation(ot->srna, "value", 1, NULL, -FLT_MAX, FLT_MAX, "Angle", "", -M_PI * 2, M_PI * 2);
|
||||
|
||||
|
|
Loading…
Reference in New Issue