set track target and make sure it serializes curves
@@ -289,11 +289,14 @@ impl TrackList {
};
if let Some(container) = container {
- let track = ResourceTrack::new(
+ let mut track = ResourceTrack::new(
container,
ValueBinding::Property(property_path.path.clone()),
);
+ track.set_serialize_frames(true);
+ track.set_target(node.instance_id());
+
sender
.send(Message::DoCommand(AnimationCommand::new(
AddTrackCommand::new(track),
