diff --git a/libtascar/src/osc_scene.cc b/libtascar/src/osc_scene.cc index d5772b22..69462ebb 100644 --- a/libtascar/src/osc_scene.cc +++ b/libtascar/src/osc_scene.cc @@ -240,7 +240,9 @@ void osc_scene_t::add_face_object_methods(TASCAR::osc_server_t* srv, srv->add_float("/damping", &(o->damping), "[0,1[", "Damping coefficient"); srv->add_float("/scattering", &(o->scattering), "[0,1]", "Scattering coefficient"); - srv->add_uint("/layers", &(o->layers)); + srv->add_uint("/layers", &(o->layers), "", + "Number representing the layers. Each layer is represented by " + "a bit, i.e., for layers 1+3 use 10"); srv->set_prefix(oldpref); srv->unset_variable_owner(); } @@ -257,7 +259,9 @@ void osc_scene_t::add_face_group_methods(TASCAR::osc_server_t* srv, srv->add_float("/damping", &(o->damping), "[0,1[", "Damping coefficient"); srv->add_float("/scattering", &(o->scattering), "[0,1]", "Scattering coefficient"); - srv->add_uint("/layers", &(o->layers)); + srv->add_uint("/layers", &(o->layers), "", + "Number representing the layers. Each layer is represented by " + "a bit, i.e., for layers 1+3 use 10"); srv->set_prefix(oldpref); srv->unset_variable_owner(); }