*/
virtual void processEvent(const std::shared_ptr<Events_Message>& theMessage);
+ /// Returns true if current mode of objects creation is by drag mouse
+ bool isDragModeCreation() const;
+
public slots:
/// Process sketch plane selected event
void visualizeFeature(const FeaturePtr& theFeature, const bool isEditOperation,
const bool isToDisplay, const bool isFlushRedisplay = true);
- /// Returns true if current mode of objects creation is by drag mouse
- bool isDragModeCreation() const;
-
private:
/// Updates selection priority of the presentation
/// \param theObject object to find a presentation which will be corrected
return;
}
- if (Config_PropManager::boolean(SKETCH_TAB_NAME, "create_by_dragging"))
+ if (module()->sketchMgr()->isDragModeCreation())
return;
ModuleBase_OperationFeature* aFOperation = dynamic_cast<ModuleBase_OperationFeature*>