UI.slider not updating the viewer

All things .jsx

Moderator: Paul Tuersley

Post Reply
HTN3D
Posts: 11
Joined: February 28th, 2017, 4:02 pm
Location: Atlanta, GA
Contact:

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,
Haider Najeeb
Art Director and Motion Designer
www.htn3d.com
Post Reply