feat(parameters): signal on parameter change
This commit is contained in:
@@ -29,10 +29,16 @@ public:
|
||||
std::vector<std::weak_ptr<prm::Parameter>> getParameters();
|
||||
std::weak_ptr<prm::Parameter> getParameter(std::string parameterName);
|
||||
|
||||
void dirtyNode();
|
||||
|
||||
|
||||
unsigned int getMaxInputs() const;
|
||||
unsigned int getMaxOutputs() const;
|
||||
|
||||
// signals
|
||||
boost::signals2::signal<void (nt::OpId)> nodeDirtied;
|
||||
|
||||
|
||||
|
||||
private:
|
||||
void initParameters();
|
||||
@@ -46,5 +52,6 @@ private:
|
||||
std::unique_ptr<enzo::nt::GeometryOpDef> opDef_;
|
||||
enzo::nt::OpId opId_;
|
||||
enzo::op::OpInfo opInfo_;
|
||||
bool dirty_ = true;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user