Blender V2.61 - r43446
Defines | Functions | Variables

object_select.c File Reference

#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "MEM_guardedalloc.h"
#include "DNA_anim_types.h"
#include "DNA_group_types.h"
#include "DNA_material_types.h"
#include "DNA_modifier_types.h"
#include "DNA_property_types.h"
#include "DNA_scene_types.h"
#include "DNA_armature_types.h"
#include "BLI_math.h"
#include "BLI_listbase.h"
#include "BLI_rand.h"
#include "BLI_string.h"
#include "BLI_utildefines.h"
#include "BKE_context.h"
#include "BKE_group.h"
#include "BKE_main.h"
#include "BKE_material.h"
#include "BKE_particle.h"
#include "BKE_property.h"
#include "BKE_report.h"
#include "BKE_scene.h"
#include "BKE_library.h"
#include "BKE_deform.h"
#include "WM_api.h"
#include "WM_types.h"
#include "ED_object.h"
#include "ED_screen.h"
#include "ED_keyframing.h"
#include "UI_interface.h"
#include "UI_resources.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "RNA_enum_types.h"
#include "object_intern.h"

Go to the source code of this file.

Defines

#define GROUP_MENU_MAX   24

Functions

void ED_base_object_select (Base *base, short mode)
void ED_base_object_activate (bContext *C, Base *base)
static int objects_selectable_poll (bContext *C)
static int object_select_by_type_exec (bContext *C, wmOperator *op)
void OBJECT_OT_select_by_type (wmOperatorType *ot)
static int object_select_linked_exec (bContext *C, wmOperator *op)
void OBJECT_OT_select_linked (wmOperatorType *ot)
static short select_grouped_children (bContext *C, Object *ob, int recursive)
static short select_grouped_parent (bContext *C)
static short select_grouped_group (bContext *C, Object *ob)
static short select_grouped_object_hooks (bContext *C, Object *ob)
static short select_grouped_siblings (bContext *C, Object *ob)
static short select_grouped_type (bContext *C, Object *ob)
static short select_grouped_layer (bContext *C, Object *ob)
static short select_grouped_index_object (bContext *C, Object *ob)
static short select_grouped_color (bContext *C, Object *ob)
static short objects_share_gameprop (Object *a, Object *b)
static short select_grouped_gameprops (bContext *C, Object *ob)
static short select_grouped_keyingset (bContext *C, Object *UNUSED(ob))
static int object_select_grouped_exec (bContext *C, wmOperator *op)
void OBJECT_OT_select_grouped (wmOperatorType *ot)
static int object_select_by_layer_exec (bContext *C, wmOperator *op)
void OBJECT_OT_select_by_layer (wmOperatorType *ot)
static int object_select_all_exec (bContext *C, wmOperator *op)
void OBJECT_OT_select_all (wmOperatorType *ot)
static int object_select_same_group_exec (bContext *C, wmOperator *op)
void OBJECT_OT_select_same_group (wmOperatorType *ot)
static int object_select_mirror_exec (bContext *C, wmOperator *op)
void OBJECT_OT_select_mirror (wmOperatorType *ot)
static int object_select_random_exec (bContext *C, wmOperator *op)
void OBJECT_OT_select_random (wmOperatorType *ot)

Variables

static EnumPropertyItem prop_select_linked_types []
static EnumPropertyItem prop_select_grouped_types []

Detailed Description

Definition in file object_select.c.


Define Documentation

#define GROUP_MENU_MAX   24

Definition at line 427 of file object_select.c.

Referenced by select_grouped_group().


Function Documentation

void ED_base_object_activate ( bContext C,
Base base 
)
void ED_base_object_select ( Base base,
short  mode 
)
void OBJECT_OT_select_all ( wmOperatorType ot)
void OBJECT_OT_select_by_layer ( wmOperatorType ot)
void OBJECT_OT_select_by_type ( wmOperatorType ot)
void OBJECT_OT_select_grouped ( wmOperatorType ot)
void OBJECT_OT_select_linked ( wmOperatorType ot)
void OBJECT_OT_select_mirror ( wmOperatorType ot)
void OBJECT_OT_select_random ( wmOperatorType ot)
void OBJECT_OT_select_same_group ( wmOperatorType ot)
static int object_select_all_exec ( bContext C,
wmOperator op 
) [static]
static int object_select_by_layer_exec ( bContext C,
wmOperator op 
) [static]
static int object_select_by_type_exec ( bContext C,
wmOperator op 
) [static]
static int object_select_grouped_exec ( bContext C,
wmOperator op 
) [static]
static int object_select_linked_exec ( bContext C,
wmOperator op 
) [static]
static int object_select_mirror_exec ( bContext C,
wmOperator op 
) [static]
static int object_select_random_exec ( bContext C,
wmOperator op 
) [static]
static int object_select_same_group_exec ( bContext C,
wmOperator op 
) [static]
static int objects_selectable_poll ( bContext C) [static]
static short objects_share_gameprop ( Object a,
Object b 
) [static]
static short select_grouped_children ( bContext C,
Object ob,
int  recursive 
) [static]
static short select_grouped_color ( bContext C,
Object ob 
) [static]
static short select_grouped_gameprops ( bContext C,
Object ob 
) [static]
static short select_grouped_group ( bContext C,
Object ob 
) [static]
static short select_grouped_index_object ( bContext C,
Object ob 
) [static]
static short select_grouped_keyingset ( bContext C,
Object UNUSEDob 
) [static]
static short select_grouped_layer ( bContext C,
Object ob 
) [static]
static short select_grouped_object_hooks ( bContext C,
Object ob 
) [static]
static short select_grouped_parent ( bContext C) [static]
static short select_grouped_siblings ( bContext C,
Object ob 
) [static]
static short select_grouped_type ( bContext C,
Object ob 
) [static]

Variable Documentation

Initial value:
 {
    {1, "CHILDREN_RECURSIVE", 0, "Children", ""},
    {2, "CHILDREN", 0, "Immediate Children", ""},
    {3, "PARENT", 0, "Parent", ""},
    {4, "SIBLINGS", 0, "Siblings", "Shared Parent"},
    {5, "TYPE", 0, "Type", "Shared object type"},
    {6, "LAYER", 0, "Layer", "Shared layers"},
    {7, "GROUP", 0, "Group", "Shared group"},
    {8, "HOOK", 0, "Hook", ""},
    {9, "PASS", 0, "Pass", "Render pass Index"},
    {10, "COLOR", 0, "Color", "Object Color"},
    {11, "PROPERTIES", 0, "Properties", "Game Properties"},
    {12, "KEYINGSET", 0, "Keying Set", "Objects included in active Keying Set"},
    {0, NULL, 0, NULL, NULL}
}

Definition at line 369 of file object_select.c.

Referenced by POSE_OT_select_grouped().

Initial value:
 {
    
    {2, "OBDATA", 0, "Object Data", ""},
    {3, "MATERIAL", 0, "Material", ""},
    {4, "TEXTURE", 0, "Texture", ""},
    {5, "DUPGROUP", 0, "Dupligroup", ""},
    {6, "PARTICLE", 0, "Particle System", ""},
    {7, "LIBRARY", 0, "Library", ""},
    {8, "LIBRARY_OBDATA", 0, "Library (Object Data)", ""},
    {0, NULL, 0, NULL, NULL}
}

Definition at line 187 of file object_select.c.