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/filesel.c')
-rw-r--r--source/blender/src/filesel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/filesel.c b/source/blender/src/filesel.c
index 91c629dda75..025ee86e563 100644
--- a/source/blender/src/filesel.c
+++ b/source/blender/src/filesel.c
@@ -2519,7 +2519,7 @@ static void filesel_select_objects(SpaceFile *sfile)
ob= (Object *)sfile->filelist[a].poin;
- if(ob) {
+ if(ob && (ob->flag & OB_RESTRICT_VIEW)==0) {
if(sfile->filelist[a].flags & ACTIVE) ob->flag |= SELECT;
else ob->flag &= ~SELECT;
}
@@ -2561,7 +2561,7 @@ static void active_file_object(SpaceFile *sfile)
ob= (Object *)sfile->filelist[sfile->act].poin;
- if(ob) {
+ if(ob && (ob->flag & OB_RESTRICT_VIEW)==0) {
set_active_object(ob);
if(BASACT && BASACT->object==ob) {
BASACT->flag |= SELECT;