#include <nodesgraph_helpers.h>
◆ MAXON_INTERFACE_NONVIRTUAL()
◆ SetOriginal() [1/2]
static MAXON_METHOD Result<void> SetOriginal |
( |
const nodes::NodesGraphModelRef & |
graph, |
|
|
const nodes::NodesGraphModelRef & |
orig |
|
) |
| |
|
static |
Sets the original graph of a graph clone. This method has to be called for clones for previews or renderings so that compiler messages can be passed to the original (which is the one the user edits).
- Parameters
-
[in] | graph | Clone of orig. |
[in] | orig | Original user-accessible graph. |
◆ SetOriginal() [2/2]
Sets the original graph of a graph clone. This method has to be called for clones for previews or renderings so that compiler messages can be passed to the original (which is the one the user edits).
- Parameters
-
[in] | graph | The mutable clone of orig. |
[in] | orig | Original user-accessible graph. |
◆ GetOriginal()
static MAXON_METHOD Result<nodes::NodesGraphModelRef> GetOriginal |
( |
const nodes::NodesGraphModelRef & |
graph | ) |
|
|
static |
Returns the original graph of a graph clone.
- Parameters
-
- Returns
- Original user-accessible graph.
◆ GetOriginalModificationStamp()
Returns the modification stamp of the graph when it was cloned.
- Parameters
-
- Returns
- The original TimeStamp.