X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FTDataXtd%2FTDataXtd_Presentation.hxx;h=9911b2462ee9c85ca2856c4773de0ab1724ee12e;hp=e92dc574ca81e732a8876c0596560158f9b4993e;hb=31e8d3c1852b4873d4be98dfe056d4c23cb0fd51;hpb=f47afe531d1f3892837a0ed8eec90298245d8f9f diff --git a/src/TDataXtd/TDataXtd_Presentation.hxx b/src/TDataXtd/TDataXtd_Presentation.hxx index e92dc574ca..9911b2462e 100644 --- a/src/TDataXtd/TDataXtd_Presentation.hxx +++ b/src/TDataXtd/TDataXtd_Presentation.hxx @@ -114,7 +114,13 @@ public: Standard_EXPORT void SetMode(const Standard_Integer theMode); - Standard_EXPORT void SetSelectionMode(const Standard_Integer theSelectionMode); + //! Sets selection mode. + //! If "theTransaction" flag is OFF, modification of the attribute doesn't influence the transaction mechanism + //! (the attribute doesn't participate in undo/redo). + //! Certainly, if any other data of the attribute is modified (display mode, color, ...), + //! the attribute will be included into transaction. + //! Obsolete method (may be removed later). + Standard_EXPORT void SetSelectionMode(const Standard_Integer theSelectionMode, const Standard_Boolean theTransaction = Standard_True); Standard_EXPORT Standard_Integer MaterialIndex() const;