diff --git a/src/windows-manager.cpp b/src/windows-manager.cpp index 8fd5e3debab8e4f9100e2926555f516d5c083e23..70462e52f4b62168af548c6671990c6cc5844393 100644 --- a/src/windows-manager.cpp +++ b/src/windows-manager.cpp @@ -1234,8 +1234,9 @@ namespace graphics { const osgVector3 p(transform[0],transform[1],transform[2]); const osgQuat q(transform[4],transform[5],transform[6],transform[3]); - + mtx_.lock(); it->second->setStaticTransform(p,q); + mtx_.unlock(); return true; }