A modern C++, cross-environment distributed object model for creative coding and interaction scoring
GNU Lesser General Public License v3.0
206
stars
33
forks
source link
[oscquery] newly created list parameter without value is considered as impulse by client thus it can't push new value #496
Closed
avilleret closed 5 years ago
this is quite a strange behavior which is demonstrated in the new test added with https://github.com/OSSIA/libossia/commit/dcb7964da2b0f6d45736623652e75609cb56c01e
it appears that when pushing new value, the conversion fails here : https://github.com/OSSIA/libossia/blob/dcb7964da2b0f6d45736623652e75609cb56c01e/OSSIA/ossia/network/generic/generic_parameter.cpp#L146
since the parameter doesn't have a value yet, it is considered as impulse, thus the list we try to push is converted to impulse, which is a bad thing