Blender
V3.3
|
#include "BKE_context.h"
#include "BKE_main.h"
#include "BLI_linklist.h"
#include "BlenderTypes.h"
#include "DEG_depsgraph.h"
#include "DEG_depsgraph_query.h"
#include "DNA_layer_types.h"
#include "DNA_object_types.h"
Go to the source code of this file.
Functions | |
bool | bc_is_in_Export_set (LinkNode *export_set, Object *ob, ViewLayer *view_layer) |
bool | bc_is_base_node (LinkNode *export_set, Object *ob, ViewLayer *view_layer) |
Object * | bc_get_highest_exported_ancestor_or_self (LinkNode *export_set, Object *ob, ViewLayer *view_layer) |
int | bc_is_marked (Object *ob) |
void | bc_remove_mark (Object *ob) |
void | bc_set_mark (Object *ob) |
Variables | |
static const BC_global_forward_axis | BC_DEFAULT_FORWARD = BC_GLOBAL_FORWARD_Y |
static const BC_global_up_axis | BC_DEFAULT_UP = BC_GLOBAL_UP_Z |
Object* bc_get_highest_exported_ancestor_or_self | ( | LinkNode * | export_set, |
Object * | ob, | ||
ViewLayer * | view_layer | ||
) |
Returns the highest selected ancestor returns NULL if no ancestor is selected IMPORTANT: This function expects that all exported objects have set: ob->id.tag & LIB_TAG_DOIT
Definition at line 20 of file BlenderContext.cpp.
References bc_is_in_Export_set(), and Object::parent.
Referenced by bc_is_base_node().
Definition at line 14 of file BlenderContext.cpp.
References bc_get_highest_exported_ancestor_or_self().
Definition at line 54 of file BlenderContext.cpp.
References bc_get_children(), and BLI_linklist_index().
Referenced by bc_get_highest_exported_ancestor_or_self().
int bc_is_marked | ( | Object * | ob | ) |
Definition at line 74 of file BlenderContext.cpp.
References Object::id, LIB_TAG_DOIT, and ID::tag.
Definition at line 79 of file BlenderContext.cpp.
References Object::id, LIB_TAG_DOIT, and ID::tag.
Referenced by MeshImporter::optimize_material_assignements().
Definition at line 84 of file BlenderContext.cpp.
References Object::id, LIB_TAG_DOIT, and ID::tag.
Referenced by MeshImporter::create_mesh_object().
|
static |
Definition at line 22 of file BlenderContext.h.
Referenced by BCMatrix::BCMatrix().
|
static |
Definition at line 23 of file BlenderContext.h.
Referenced by BCMatrix::BCMatrix().