Skip to content
This repository was archived by the owner on Oct 22, 2021. It is now read-only.

Commit 2fd6462

Browse files
committed
added template code for value changed
1 parent 5e9eef0 commit 2fd6462

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

Augmenta-simulator.js

+5-6
Original file line numberDiff line numberDiff line change
@@ -124,14 +124,13 @@ function moduleParameterChanged(param)
124124
}
125125

126126
// TODO sendData value to take into account
127-
function moduleValueChanged(param)
127+
/*function moduleValueChanged(value)
128128
{
129-
/*if(value.name == "person0.sendData") // somehow this does not work
129+
if(value.name == "sendData" && value.getParent().name == "person0")
130130
{
131-
script.log("test");
132-
}*/
133-
134-
}
131+
script.log("pO sendData " +value.getParent().name);
132+
}
133+
}*/
135134

136135
function resetAll()
137136
{

0 commit comments

Comments
 (0)