Blender V5.0
sync_sockets.cc File Reference
#include <fmt/format.h>
#include "DNA_node_types.h"
#include "DNA_space_types.h"
#include "RNA_access.hh"
#include "WM_api.hh"
#include "BKE_compute_context_cache.hh"
#include "BKE_context.hh"
#include "BKE_main.hh"
#include "BKE_main_invariants.hh"
#include "BKE_node_legacy_types.hh"
#include "BKE_node_runtime.hh"
#include "BKE_node_tree_update.hh"
#include "BKE_report.hh"
#include "BKE_workspace.hh"
#include "ED_node.hh"
#include "ED_screen.hh"
#include "BLI_listbase.h"
#include "BLT_translation.hh"
#include "NOD_geo_bundle.hh"
#include "NOD_geo_closure.hh"
#include "NOD_socket_items.hh"
#include "NOD_sync_sockets.hh"
#include "NOD_trace_values.hh"

Go to the source code of this file.

Classes

struct  blender::nodes::BundleSyncState
struct  blender::nodes::ClosureSyncState

Namespaces

namespace  blender
namespace  blender::nodes

Enumerations

enum class  blender::nodes::NodeSyncState { blender::nodes::Synced , blender::nodes::CanBeSynced , blender::nodes::NoSyncSource , blender::nodes::ConflictingSyncSources }

Functions

static BundleSyncState blender::nodes::get_sync_state_separate_bundle (const SpaceNode &snode, const bNode &separate_bundle_node, const bNodeSocket *src_bundle_socket=nullptr)
static BundleSyncState blender::nodes::get_sync_state_combine_bundle (const SpaceNode &snode, const bNode &combine_bundle_node, const bNodeSocket *src_bundle_socket=nullptr)
static ClosureSyncState blender::nodes::get_sync_state_closure_output (const SpaceNode &snode, const bNode &closure_output_node, const bNodeSocket *src_closure_socket=nullptr)
static ClosureSyncState blender::nodes::get_sync_state_evaluate_closure (const SpaceNode &snode, const bNode &evaluate_closure_node, const bNodeSocket *src_closure_socket=nullptr)
void blender::nodes::sync_sockets_separate_bundle (SpaceNode &snode, bNode &separate_bundle_node, ReportList *reports, const bNodeSocket *src_bundle_socket)
void blender::nodes::sync_sockets_combine_bundle (SpaceNode &snode, bNode &combine_bundle_node, ReportList *reports, const bNodeSocket *src_bundle_socket)
void blender::nodes::sync_sockets_evaluate_closure (SpaceNode &snode, bNode &evaluate_closure_node, ReportList *reports, const bNodeSocket *src_closure_socket)
void blender::nodes::sync_sockets_closure (SpaceNode &snode, bNode &closure_input_node, bNode &closure_output_node, ReportList *reports, const bNodeSocket *src_closure_socket)
static std::string blender::nodes::get_bundle_sync_tooltip (const nodes::BundleSignature &old_signature, const nodes::BundleSignature &new_signature)
static std::string blender::nodes::get_closure_sync_tooltip (const nodes::ClosureSignature &old_signature, const nodes::ClosureSignature &new_signature)
void blender::nodes::sync_node (bContext &C, bNode &node, ReportList *reports)
std::string blender::nodes::sync_node_description_get (const bContext &C, const bNode &node)
bool blender::nodes::node_can_sync_sockets (const bContext &C, const bNodeTree &, const bNode &node)
void blender::nodes::node_can_sync_cache_clear (Main &bmain)