minor improvements

This commit is contained in:
itsmattkc
2019-09-17 21:25:00 +10:00
parent 1207e180ec
commit 16a4897236
3 changed files with 56 additions and 7 deletions
+22
View File
@@ -153,6 +153,26 @@ public:
*/
bool OutputsTo(Node* n);
/**
* @brief Return whether this Node has input parameters
*/
bool HasInputs();
/**
* @brief Return whether this Node has output parameters
*/
bool HasOutputs();
/**
* @brief Return whether this Node has input parameters and at least one of them is connected
*/
bool HasConnectedInputs();
/**
* @brief Return whether this Node has output parameters and at least one of them is connected
*/
bool HasConnectedOutputs();
/**
* @brief Add's unique information about this Node at the given time to a QCryptographicHash
*/
@@ -270,6 +290,8 @@ private:
*/
bool HasParamWithID(const QString& id);
bool HasParamOfType(NodeParam::Type type, bool must_be_connected);
/**
* @brief The last timecode Process() was called with
*/