Depsgraph: Make object component conversion more accessible
This commit is contained in:
@@ -27,6 +27,8 @@
|
||||
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "DEG_depsgraph_build.h"
|
||||
|
||||
struct GHash;
|
||||
struct ID;
|
||||
struct Scene;
|
||||
@@ -130,6 +132,9 @@ enum class NodeType {
|
||||
};
|
||||
const char *nodeTypeAsString(NodeType type);
|
||||
|
||||
NodeType nodeTypeFromSceneComponent(eDepsSceneComponentType component);
|
||||
NodeType nodeTypeFromObjectComponent(eDepsObjectComponentType component);
|
||||
|
||||
/* All nodes in Depsgraph are descended from this. */
|
||||
struct Node {
|
||||
/* Helper class for static typeinfo in subclasses. */
|
||||
|
||||
Reference in New Issue
Block a user