/// <summary> /// Returns true if dirtied the TOP network. /// </summary> public bool DirtyAll(HAPI_NodeId nodeID) { #if HOUDINIENGINEUNITY_ENABLED HEU_SessionBase session = GetHAPIPDGSession(); if (session != null && session.IsSessionValid()) { return(session.DirtyPDGNode(nodeID, true)); } #endif return(false); }
/// <summary> /// Returns true if dirtied the TOP network. /// </summary> public bool DirtyAll(HAPI_NodeId nodeID) { #if HOUDINIENGINEUNITY_ENABLED ClearEventMessages(); ResetCallbackVariables(); HEU_SessionBase session = GetHAPIPDGSession(); if (session != null && session.IsSessionValid()) { return(session.DirtyPDGNode(nodeID, true)); } #endif return(false); }
public void DirtyTOPNode(HEU_TOPNodeData topNode) { HEU_SessionBase session = GetHAPISession(); if (session == null || !session.IsSessionValid()) { return; } if (!session.DirtyPDGNode(topNode._nodeID, true)) { Debug.LogErrorFormat("Dirty node failed!"); return; } ClearTOPNodeWorkItemResults(topNode); }
public void DirtyAll() { HEU_SessionBase session = GetHAPISession(); if (session == null || !session.IsSessionValid()) { return; } HEU_TOPNetworkData topNetwork = GetSelectedTOPNetwork(); if (topNetwork != null) { if (!session.DirtyPDGNode(topNetwork._nodeID, true)) { Debug.LogErrorFormat("Dirty node failed!"); return; } ClearTOPNetworkWorkItemResults(topNetwork); } }