X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_Update.h;h=c5f27713841c6346db681b1140a9f777f6ae4155;hb=176403004ff97696f3c0b5f8bdf48692177fb34a;hp=9e37eddd23383e2604fbcceda273f4bf25642920;hpb=a3f4857aa3c3485da49092b189aefc892529d00e;p=modules%2Fshaper.git diff --git a/src/Model/Model_Update.h b/src/Model/Model_Update.h index 9e37eddd2..c5f277138 100644 --- a/src/Model/Model_Update.h +++ b/src/Model/Model_Update.h @@ -30,7 +30,8 @@ class Model_Update : public Events_Listener std::map, std::set > > myModified; /// Features which arguments were modified by not-persistent changes. - /// So, these referencing arguments must be updated due to these features info also before execution). + /// So, these referencing arguments must be updated + /// due to these features info also before execution). std::map, std::set > > myNotPersistentRefs; /// features that must be additionally processed after execution of finish operation @@ -45,7 +46,8 @@ class Model_Update : public Events_Listener std::set > myProcessOnFinish; /// to avoid infinitive cycling: feature -> count of the processing periods during this update std::map, int > myProcessed; - /// if preview in hte property panel is blocked and any update is postponed until the end of operation + /// if preview in hte property panel is blocked and + /// any update is postponed until the end of operation bool myIsPreviewBlocked; public: @@ -86,9 +88,15 @@ protected: /// Updates the properties of object because of stability state changes void updateStability(void* theSender); - /// Returns true if theFeature modification was caused by theReason (may be feature of result of this feature) + /// Returns true if theFeature modification was caused by theReason + /// (may be feature of result of this feature) bool isReason( std::shared_ptr& theFeature, std::shared_ptr theReason); + + /// Updates a selection attributes for the features that possible were affected by creation + /// or reorder of features upper in the history line (issue #1757) + void updateSelection(const std::set >& theObjects); + }; #endif