diff options
author | Ton Roosendaal <ton@blender.org> | 2013-03-25 22:41:28 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2013-03-25 22:41:28 +0400 |
commit | c347b4878434fed66bcb9323d65d6c29212beb8f (patch) | |
tree | 4e6f6eeafeb45f94a967e1866f4f11b83fd2bc18 /source | |
parent | 09bae3d35dc7c7f303d6ab3c16ff756760eb5b67 (diff) |
Bug report, IRC:
Operator "To Sphere" should only be allowed to be called in 3d view.
Crashed in Image editor.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/transform/transform_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_ops.c b/source/blender/editors/transform/transform_ops.c index 60b0c655691..778795bb3a1 100644 --- a/source/blender/editors/transform/transform_ops.c +++ b/source/blender/editors/transform/transform_ops.c @@ -721,7 +721,7 @@ static void TRANSFORM_OT_tosphere(struct wmOperatorType *ot) ot->exec = transform_exec; ot->modal = transform_modal; ot->cancel = transform_cancel; - ot->poll = ED_operator_screenactive; + ot->poll = ED_operator_view3d_active; RNA_def_float_factor(ot->srna, "value", 0, 0, 1, "Factor", "", 0, 1); |