mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 07:53:08 +02:00
only consider standard poses written if the pose was valid
This commit is contained in:
parent
b57c1fe198
commit
87e8b6bfeb
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void apply(const Pose& value, const Pointer& source) override {
|
virtual void apply(const Pose& value, const Pointer& source) override {
|
||||||
if (value != Pose()) {
|
if (value != Pose() && value.isValid()) {
|
||||||
_written = true;
|
_written = true;
|
||||||
}
|
}
|
||||||
VirtualEndpoint::apply(value, source);
|
VirtualEndpoint::apply(value, source);
|
||||||
|
|
Loading…
Reference in a new issue