diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-04-25 06:20:55 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-04-25 06:20:55 +0400 |
commit | 13b1fbd665f3e20780844469a9704ecb2008a996 (patch) | |
tree | 68c6f8c2692cb6506526a4bd9a0224ce053dfeec /source/blender/include/blendef.h | |
parent | 0c7e145dcedaf3e22abaead61c1b1cb431a7da0a (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/include/blendef.h')
-rw-r--r-- | source/blender/include/blendef.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/include/blendef.h b/source/blender/include/blendef.h index 4b36aea88a8..70c16fd5df9 100644 --- a/source/blender/include/blendef.h +++ b/source/blender/include/blendef.h @@ -97,7 +97,7 @@ #define TESTBASE(base) ( ((base)->flag & SELECT) && ((base)->lay & G.vd->lay) && (((base)->object->restrictflag & OB_RESTRICT_VIEW)==0) ) #define TESTBASELIB(base) ( ((base)->flag & SELECT) && ((base)->lay & G.vd->lay) && ((base)->object->id.lib==0) && (((base)->object->restrictflag & OB_RESTRICT_VIEW)==0)) -#define BASE_SELECTABLE(base) ((base->lay & G.vd->lay) && !(base->object->restrictflag & OB_RESTRICT_SELECT) && !(base->object->restrictflag & OB_RESTRICT_VIEW)) +#define BASE_SELECTABLE(base) ((base->lay & G.vd->lay) && (base->object->restrictflag & (OB_RESTRICT_SELECT|OB_RESTRICT_VIEW))==0) #define FIRSTBASE G.scene->base.first #define LASTBASE G.scene->base.last #define BASACT (G.scene->basact) |