Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ofxaddons
ofxCloudLib
Commits
3dd51ba4
Commit
3dd51ba4
authored
Jan 05, 2018
by
artificiel
Browse files
AbstractClient: n'update le data cloud/mesh que si la thread roule
parent
40752d65
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ofxCloudLib/ClientPlayer.hpp
View file @
3dd51ba4
...
...
@@ -49,9 +49,11 @@ class ClientPlayer : public AbstractClient
void
update
()
override
{
cloud_player_
.
update_cloud
();
cloud_player_
.
update_mesh
();
index_
.
set
(
cloud_player_
.
get_current_frame
());
if
(
cloud_player_
.
isThreadRunning
())
{
cloud_player_
.
update_cloud
();
cloud_player_
.
update_mesh
();
index_
.
set
(
cloud_player_
.
get_current_frame
());
}
}
bool
is_xyz_new
()
override
{
return
playing_
.
get
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment