Revision 9c7ef5fc src/server/eyelid_motion_generator.cpp
src/server/eyelid_motion_generator.cpp | ||
---|---|---|
106 | 106 |
//! process any external blink requests |
107 | 107 |
void EyelidMotionGenerator::start_external_eyeblinks(int duration_left, int duration_right){ |
108 | 108 |
//manual eyeblinks will ALWAYs get executed as we use a negative block timeout (=timout has already passed) |
109 |
eyeblink_blocked_timeout = get_system_time() - posix_time::seconds(100); |
|
109 |
if ((duration_left != 0) || (duration_right != 0)){ |
|
110 |
eyeblink_blocked_timeout = get_system_time() - posix_time::seconds(100); |
|
111 |
} |
|
112 |
|
|
110 | 113 |
|
111 | 114 |
if (duration_left == 0){ |
112 | 115 |
//nothing to do |
Also available in: Unified diff