| 303 | ///////////////////////////////////////////////////////////////////////////////// |
| 304 | |
| 305 | void PathFollow2D::path_changed() { |
| 306 | if (update_timer && !update_timer->is_stopped()) { |
| 307 | update_timer->start(); |
| 308 | } else { |
| 309 | _update_transform(); |
| 310 | } |
| 311 | } |
| 312 | |
| 313 | void PathFollow2D::_update_transform() { |
| 314 | if (!path) { |
no test coverage detected