Blender
V3.3
|
Go to the source code of this file.
Functions | |
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) |
void | bc_get_children (std::vector< Object * > &child_set, Object *ob, ViewLayer *view_layer) |
bool | bc_is_in_Export_set (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) |
void bc_get_children | ( | std::vector< Object * > & | child_set, |
Object * | ob, | ||
ViewLayer * | view_layer | ||
) |
Definition at line 34 of file BlenderContext.cpp.
References ListBase::first, Base::next, OB_ARMATURE, OB_CAMERA, OB_EMPTY, OB_LAMP, OB_MESH, Base::object, ViewLayer::object_bases, Object::parent, and Object::type.
Referenced by bc_is_in_Export_set().
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().