index 1bc3988ab49e3b4bf94d20a86e23684275467e92..e703c888b11faf0ef673c80fab8ec68d716e079b 100644 (file)
int acceptsNumParams() { return acceptsNumParams(effectType()); }
void doAcceptPathPreparations(SPLPEItem *lpeitem);
- inline bool pathParamAccepted() { return done_pathparam_set; }
+ /*
+ * isReady() indicates whether all preparations which are necessary to apply the LPE are done,
+ * e.g., waiting for a parameter path either before the effect is created or when it needs a
+ * path as argument. This is set in sp_lpe_item_add_path_effect().
+ */
+ inline bool isReady() { return is_ready; }
+ inline void setReady(bool ready = true) { is_ready = ready; }
virtual void doEffect (SPCurve * curve);
std::vector<std::pair<KnotHolderEntity*, const char*> > kh_entity_vector;
int oncanvasedit_it;
BoolParam is_visible;
- bool done_pathparam_set;
bool show_orig_path; // set this to true in derived effects to automatically have the original
// path displayed as helperpath
private:
bool provides_own_flash_paths; // if true, the standard flash path is suppressed
+ bool is_ready;
+
Effect(const Effect&);
Effect& operator=(const Effect&);
};