Page 1 of 1

UI.slider not updating the viewer

Posted: April 12th, 2017, 8:45 am
by HTN3D
I am working on a script that has a ui.slider that controls object movement by using onChanging Listener => Expression Control/Slider Control => Expression => objProperty.
But I am having trouble updating the viewer while moving the ui.slider, The viewer not reflecting the changes until I release the mouse from the ui.slider. I am seeing the value in the "Slider Control" changing while I moving the ui.slider but not updating the object on the viewer until i release the ui.slider.

Is there any way to see the changes on the object while I am moving the ui.slider? Like adding something like refreshing the viewer in the onChanging's function or anything that enforce the update while the ui.slider moving.

Thanks,