+ add convenience method recomputeFeature()
+ make method recompute() protected
This commit is contained in:
@@ -55,10 +55,6 @@ public:
|
||||
|
||||
/** @name methods override feature */
|
||||
//@{
|
||||
/// recalculate the feature
|
||||
/// recompute only this object
|
||||
virtual App::DocumentObjectExecReturn *recompute(void);
|
||||
virtual App::DocumentObjectExecReturn *execute(void);
|
||||
virtual short mustExecute(void) const;
|
||||
//@}
|
||||
|
||||
@@ -71,6 +67,10 @@ public:
|
||||
TopLoc_Location getLocation() const;
|
||||
|
||||
protected:
|
||||
/// recompute only this object
|
||||
virtual App::DocumentObjectExecReturn *recompute(void);
|
||||
/// recalculate the feature
|
||||
virtual App::DocumentObjectExecReturn *execute(void);
|
||||
virtual void onChanged(const App::Property* prop);
|
||||
/**
|
||||
* Build a history of changes
|
||||
|
||||
Reference in New Issue
Block a user