Commit 6d90ee96 authored by artificiel's avatar artificiel
Browse files

ClientPlayer: cleanup

parent c214296a
......@@ -23,6 +23,13 @@ class ClientPlayer : public AbstractClient
}
}
void direct_load_recording(std::string path)
{
ofLogNotice("ClientPlayer") << "direct_load_recording: " << path;
cloud_player_.setup(path);
index_.setMax(cloud_player_.get_number_of_frames());
}
void control_playback(bool &b)
{
if (b) {
......@@ -36,7 +43,6 @@ class ClientPlayer : public AbstractClient
{
cloud_player_.offset_x_ = offset_x_;
cloud_player_.offset_z_ = offset_z_;
;
}
ofMesh &get_mesh() override { return cloud_player_.get_mesh(); };
......@@ -79,7 +85,6 @@ class ClientPlayer : public AbstractClient
ofParameter<bool> drawing_;
ofParameter<int> index_;
ofxCloudLib::CloudPlayerThread cloud_player_;
};
} // namespace ofxCloudLib
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment