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:
authorTon Roosendaal <ton@blender.org>2005-12-07 23:28:48 +0300
committerTon Roosendaal <ton@blender.org>2005-12-07 23:28:48 +0300
commit89974f154669d38ddb36ff839a5c8191affb6691 (patch)
tree4a9d5dcff4e4ba168decd9b9247ee3f7f7ce8edb /source/blender/src/outliner.c
parent44c9b42f605a6c9b1ca57de949c524352edf4e25 (diff)
Orange fixes;
- protected editing library data names in outliner - layer-bone recode caused selection from posemode not to flush correctly to editmode
Diffstat (limited to 'source/blender/src/outliner.c')
-rw-r--r--source/blender/src/outliner.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/src/outliner.c b/source/blender/src/outliner.c
index fe00f6f1262..7fe1ac4cbf7 100644
--- a/source/blender/src/outliner.c
+++ b/source/blender/src/outliner.c
@@ -1475,6 +1475,8 @@ static int do_outliner_mouse_event(SpaceOops *soops, TreeElement *te, short even
if(G.qual & LR_CTRLKEY) {
if(ELEM5(tselem->type, TSE_NLA, TSE_DEFGROUP_BASE, TSE_CONSTRAINT_BASE, TSE_MODIFIER_BASE, TSE_SCRIPT_BASE))
error("Cannot edit builtin name");
+ else if(tselem->id->lib)
+ error("Cannot edit Library Data");
else {
tselem->flag |= TSE_TEXTBUT;
}