We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9679fdd commit 28f40b2Copy full SHA for 28f40b2
Sources/Proxy/Core/AbstractRepresentationProxy/index.js
@@ -34,6 +34,16 @@ function vtkAbstractRepresentationProxy(publicAPI, model) {
34
updateConnectivity
35
);
36
}
37
+
38
+ // Allow dynamic registration of links
39
+ if (model.links) {
40
+ for (let i = 0; i < model.links.length; i++) {
41
+ const { link, property } = model.links[i];
42
+ const sLink = source.getPropertyLink(link);
43
+ publicAPI.registerPropertyLinkForGC(sLink);
44
+ sLink.bind(publicAPI, property);
45
+ }
46
47
};
48
49
publicAPI.getInputDataSet = () =>
0 commit comments