Expressions/Scripts/Presets

Moderator: Paul Tuersley

 
HTN3D
Topic Author
Posts: 10
Joined: Tue Feb 28, 2017 4:02 pm
Location: Atlanta, GA
Contact:

UI.slider not updating the viewer

Wed Apr 12, 2017 8:45 am

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

Who is online

Users browsing this forum: No registered users and 4 guests