diff options
-rw-r--r-- | libs/pbd/enums.cc | 1 | ||||
-rw-r--r-- | libs/pbd/pbd/controllable.h | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libs/pbd/enums.cc b/libs/pbd/enums.cc index e8bb80742d..b5b9bc1676 100644 --- a/libs/pbd/enums.cc +++ b/libs/pbd/enums.cc @@ -44,6 +44,7 @@ setup_libpbd_enums () REGISTER_CLASS_ENUM (Controllable, InverseGroup); REGISTER_CLASS_ENUM (Controllable, UseGroup); REGISTER_CLASS_ENUM (Controllable, NoGroup); + REGISTER_CLASS_ENUM (Controllable, ForGroup); REGISTER (controllable_group_disposition); } diff --git a/libs/pbd/pbd/controllable.h b/libs/pbd/pbd/controllable.h index 51c9c64be1..5ac6895d6f 100644 --- a/libs/pbd/pbd/controllable.h +++ b/libs/pbd/pbd/controllable.h @@ -84,7 +84,11 @@ class LIBPBD_API Controllable : public PBD::StatefulDestructible { enum GroupControlDisposition { InverseGroup, /* set all controls in the same "group" as this one */ NoGroup, /* set only this control */ - UseGroup /* use group settings to decide which group controls are altered */ + UseGroup, /* use group settings to decide which group controls are altered */ + ForGroup /* this setting is being done *for* the group + (i.e. UseGroup was set in the callchain + somewhere). + */ }; /** Get and Set `internal' value |