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:
authorCampbell Barton <ideasman42@gmail.com>2007-04-25 06:20:55 +0400
committerCampbell Barton <ideasman42@gmail.com>2007-04-25 06:20:55 +0400
commit13b1fbd665f3e20780844469a9704ecb2008a996 (patch)
tree68c6f8c2692cb6506526a4bd9a0224ce053dfeec /source/blender/src/filesel.c
parent0c7e145dcedaf3e22abaead61c1b1cb431a7da0a (diff)
made blender take hidden objects into account in more situations.
Ctrl+RMB used to select a hidden object as well as "Select Grouped -> Parent" Also made OOps and data browser check for hidden objects. Added a countall to hide/unhide objects.
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;