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:
Diffstat (limited to 'source/blender/src/editgroup.c')
-rw-r--r--source/blender/src/editgroup.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/src/editgroup.c b/source/blender/src/editgroup.c
index f946a952b5b..67d6701b13e 100644
--- a/source/blender/src/editgroup.c
+++ b/source/blender/src/editgroup.c
@@ -112,6 +112,11 @@ void group_operation_with_menu(void)
}
}
+ if(group && group->id.lib) {
+ error("Cannot edit library data");
+ return;
+ }
+
if(base)
mode= pupmenu("Groups %t|Add to current Group %x3|Add to New Group %x1|Remove from all Groups %x2");
else