|| theId == SketchPlugin_ConstraintRigid::ID();
}
-bool PartSet_OperationFeatureCreate::canBeCommitted() const
-{
- if (PartSet_OperationSketchBase::canBeCommitted()) {
- //if(myActiveWidget && !myActiveWidget->isComputedDefault()) {
- return isValid();
- }
- return false;
-}
-
void PartSet_OperationFeatureCreate::mouseMoved(QMouseEvent* theEvent, ModuleBase_IViewer* theViewer)
{
double aX, anY;
virtual FeaturePtr createFeature(const bool theFlushMessage = true,
CompositeFeaturePtr theCompositeFeature = CompositeFeaturePtr());
- /// Verifies whether this operator can be commited.
- /// \return Returns TRUE if current operation can be committed, e.g. all parameters are filled
- virtual bool canBeCommitted() const;
-
protected:
/// Feature of previous operation (for sequintal operations)
FeaturePtr myInitFeature;