Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hello, I have a script that updates the keyframe at the current time's value while dragging an EditSlider. Is it possible to also update the keyframe in the Timeline while dragging? Currently the associated object updates in the Viewport using c4d.DrawViews but the keyframe in the F-Curve Timeline only updates on release of the EditSlider's handle. Here is the code I'm using to redraw:
c4d.DrawViews(c4d.DRAWFLAGS_NO_THREAD | c4d.DRAWFLAGS_FORCEFULLREDRAW) c4d.GeSyncMessage(c4d.EVMSG_FCURVECHANGE) c4d.EventAdd(c4d.EVENT_ANIMATE)
Thank you!
hi @blastframe
You should use EVMSG_CHANGE instead of EVMSG_FCURVECHANGE
EVMSG_CHANGE
EVMSG_FCURVECHANGE
c4d.GeSyncMessage(c4d.EVMSG_CHANGE)
Cheers, Manuel
@m_magalhaes said in Updating F-Curves in Timeline on EditSlider Drag:
hi @blastframe You should use EVMSG_CHANGE instead of EVMSG_FCURVECHANGE c4d.GeSyncMessage(c4d.EVMSG_CHANGE) Cheers, Manuel
Hi Manuel, that was simple, thank you very much! That's a bit confusing though because I'm changing an F-Curve. What's c4d.EVMSG_FCURVECHANGE for then?
c4d.EVMSG_FCURVECHANGE
@blastframe said in Updating F-Curves in Timeline on EditSlider Drag:
What's c4d.EVMSG_FCURVECHANGE for then?
After a quick check (sorry, I should have checked yesterday for a more complete answer) literally nothing. It's used nowhere.