Commit 00bd269
committed
[SofaPyhon3/Plugin] Fix regression introduced in PR #4243
To fix memory error in PR sofa-framework#243
There is the need to get the latest data by calling getValue().
The way it was done in the PR is wrong because it is using a begin/end edit pairs
which trigger the DDG's follower to notify the data is dirty (while it is not).
The consequence was that every call on read access eg:
print(myobjec.position.value)
was triggering the data change mecanisme1 parent f03b1c5 commit 00bd269
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
297 | | - | |
| 297 | + | |
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
| |||
0 commit comments