diff options
author | Ton Roosendaal <ton@blender.org> | 2008-12-26 22:07:31 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2008-12-26 22:07:31 +0300 |
commit | da078552d40c884bc8867828716c32404390590f (patch) | |
tree | fc3dd02ca94717cd742e094ca60fc9a22f127955 /source/blender/editors/space_outliner | |
parent | 6086c31fd3c0c008a2fd98314c57d7ffc5405e1d (diff) |
2.5
- Added 3d cursor operator (no exec, waiting for vector property!)
- Added default editor callbacks, for the poll() function.
Example:
ot->poll= ED_operator_view3d_active;
I'll add later more, per module, such as OBJECT_active, which
can be called without WM active
Diffstat (limited to 'source/blender/editors/space_outliner')
-rw-r--r-- | source/blender/editors/space_outliner/outliner.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_outliner/outliner.c b/source/blender/editors/space_outliner/outliner.c index e3a0999ebf5..5c6f25b841c 100644 --- a/source/blender/editors/space_outliner/outliner.c +++ b/source/blender/editors/space_outliner/outliner.c @@ -2155,7 +2155,7 @@ void OUTLINER_OT_activate_click(wmOperatorType *ot) ot->invoke= outliner_activate_click; - ot->poll= ED_operator_areaactive; + ot->poll= ED_operator_outliner_active; } |