Commit 37ac01ea authored by Jakob Weiss's avatar Jakob Weiss
Browse files

core API extension: ButtonProperty now forwards click event to shared properties

parent b347ef9a
......@@ -37,6 +37,13 @@ namespace campvis {
void ButtonProperty::click() {
//pass the click on to all shared button that are connected
for (auto it = _sharedProperties.begin(), end = _sharedProperties.end(); it != end; ++it) {
ButtonProperty * btn = dynamic_cast<ButtonProperty*>(*it);
if (btn)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment