20#include "RNA_prototypes.hh"
51 else if (
object.type ==
OB_LAMP) {
87 const bool skip_base =
false)
94 if (path_item->nodetree ==
nullptr) {
98 int icon = ICON_NODETREE;
106 icon = ICON_ASSET_MANAGER;
128 if (scene !=
nullptr) {
151 if (scene !=
nullptr) {
178 if (!sequencer_scene) {
247 if (snode ==
nullptr) {
SpaceNode * CTX_wm_space_node(const bContext *C)
Object * CTX_data_active_object(const bContext *C)
Scene * CTX_data_scene(const bContext *C)
Scene * CTX_data_sequencer_scene(const bContext *C)
ViewLayer * CTX_data_view_layer(const bContext *C)
FreestyleLineStyle * BKE_linestyle_active_from_view_layer(struct ViewLayer *view_layer)
General operations, lookup, etc. for materials.
Material * BKE_object_material_get(Object *ob, short act)
General operations, lookup, etc. for blender objects.
ModifierData * BKE_object_active_modifier(const Object *ob)
#define LISTBASE_FOREACH_INDEX(type, var, list, index_var)
#define ID_IS_PACKED(_id)
#define ID_IS_LINKED(_id)
@ eSeqModifierType_Compositor
@ SNODE_COMPOSITOR_SEQUENCER
bool ED_node_is_geometry(const SpaceNode *snode)
bool ED_node_is_compositor(const SpaceNode *snode)
bool ED_node_is_shader(SpaceNode *snode)
NodeLinkData data[NODELINK_GROUP_SIZE]
static std::function< void(bContext &)> tree_path_handle_func(int i)
static void get_context_path_node_shader(const bContext &C, SpaceNode &snode, Vector< ui::ContextPathItem > &path)
static void get_context_path_node_geometry(const bContext &C, SpaceNode &snode, Vector< ui::ContextPathItem > &path)
static void context_path_add_object_data(Vector< ui::ContextPathItem > &path, Object &object)
static void context_path_add_top_level_shader_node_tree(const SpaceNode &snode, Vector< ui::ContextPathItem > &path, StructRNA &rna_type, void *ptr)
static void get_context_path_node_compositor(const bContext &C, SpaceNode &snode, Vector< ui::ContextPathItem > &path)
Vector< ui::ContextPathItem > context_path_for_space_node(const bContext &C)
static void context_path_add_node_tree_and_node_groups(const SpaceNode &snode, Vector< ui::ContextPathItem > &path, const bool skip_base=false)
Editing * editing_get(const Scene *scene)
Strip * select_active_get(const Scene *scene)
StripModifierData * modifier_get_active(const Strip *strip)
void context_path_add_generic(Vector< ContextPathItem > &path, StructRNA &rna_type, void *ptr, const BIFIconID icon_override=ICON_NONE, std::function< void(bContext &)> handle_func=nullptr)
void RNA_int_set(PointerRNA *ptr, const char *name, int value)
struct bNodeTree * node_group
struct bNodeTree * edittree
struct bNodeTree * nodetree
wmOperatorStatus WM_operator_name_call_ptr(bContext *C, wmOperatorType *ot, blender::wm::OpCallContext context, PointerRNA *properties, const wmEvent *event)
wmOperatorType * WM_operatortype_find(const char *idname, bool quiet)
void WM_operator_properties_create_ptr(PointerRNA *ptr, wmOperatorType *ot)
void WM_operator_properties_free(PointerRNA *ptr)