Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2010-09-28 01:22:20 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2010-09-28 01:22:20 +0400
commit4b33deeb02ffce4e1e2c0adb5a709f94eb214e8a (patch)
treeb9abc0a8c8fbc6b55383ec913cbb997c8e20ba6a /source/blender/editors/include/ED_screen.h
parentbbfbbe8e134f2836bb764fb9474167106668987a (diff)
Fix [#23977] toggle back to object mode not working (outliner issue)
Reported by Roland Kramer There was already code to prevent visibility toggle through restrict column from working when in edit mode. Reshuffled code somewhat so it works also for object operations in outliner. Also ensure operator poll for visibility and selectability toggle checks object is not in edit mode. So this also works for selectability toggling, so no more toggling when in edit mode - it's confusing otherwise. Added notifier and handling for it for renderability toggle in outliner. No edit mode restriction here.
Diffstat (limited to 'source/blender/editors/include/ED_screen.h')
-rw-r--r--source/blender/editors/include/ED_screen.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_screen.h b/source/blender/editors/include/ED_screen.h
index 203d93150eb..d95011c5961 100644
--- a/source/blender/editors/include/ED_screen.h
+++ b/source/blender/editors/include/ED_screen.h
@@ -128,6 +128,7 @@ int ED_operator_view3d_active(struct bContext *C);
int ED_operator_region_view3d_active(struct bContext *C);
int ED_operator_timeline_active(struct bContext *C);
int ED_operator_outliner_active(struct bContext *C);
+int ED_operator_outliner_active_no_editobject(struct bContext *C);
int ED_operator_file_active(struct bContext *C);
int ED_operator_action_active(struct bContext *C);
int ED_operator_buttons_active(struct bContext *C);