bluecadet / Cinder-BluecadetViews

Scene graph Cinder block with touch management and various tools for UI dev
MIT License
11 stars 3 forks source link

Animating view properties on a timeline separate from that view won't invalidate its transforms #116

Open benjaminbojko opened 6 years ago

benjaminbojko commented 6 years ago

Since only the view's timeline is checked for animations, but not the properties themselves.

The following snippet should be edited to check for isComplete() on animation properties that affect transform (getScale(), getRotation(), getPosition()) instead of just the timeline: https://github.com/bluecadet/Cinder-BluecadetViews/blob/develop/src/bluecadet/views/BaseView.cpp#L259-L262

cc @shi-weili