Sketcher: ViewProviderSketch inhibit update if internal transaction is ongoing
============================================================================== Inhibit ViewProviderSketch updateData with invalid data (internal transaction). Trigger update internally for internal transactions in SketchObject via touched() so as to trigger updateData. This leads to a reduction of updateData calls.
This commit is contained in:
committed by
abdullahtahiriyo
parent
736aa11f6e
commit
5119513488
@@ -378,6 +378,8 @@ public:
|
||||
bool isExternalAllowed(App::Document *pDoc, App::DocumentObject *pObj, eReasonList* rsn = 0) const;
|
||||
|
||||
bool isCarbonCopyAllowed(App::Document *pDoc, App::DocumentObject *pObj, bool & xinv, bool & yinv, eReasonList* rsn = 0) const;
|
||||
|
||||
bool isPerformingInternalTransaction() const {return internaltransaction;};
|
||||
public:
|
||||
// Analyser functions
|
||||
int autoConstraint(double precision = Precision::Confusion() * 1000, double angleprecision = M_PI/20, bool includeconstruction = true);
|
||||
|
||||
Reference in New Issue
Block a user