Explorar o código

Fix the Focus not working when pressing the F-Key

weinand %!s(int64=9) %!d(string=hai) anos
pai
achega
8d91debd87
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Source/Atomic/Graphics/AnimatedModel.cpp

+ 1 - 1
Source/Atomic/Graphics/AnimatedModel.cpp

@@ -1044,7 +1044,7 @@ void AnimatedModel::OnWorldBoundingBoxUpdate()
     if (isMaster_)
     {
         // Note: do not update bone bounding box here, instead do it in either of the threaded updates
-        worldBoundingBox_ = boneBoundingBox_.Transformed(node_->GetWorldTransform());
+        worldBoundingBox_ = boundingBox_.Transformed(node_->GetWorldTransform());
     }
     else
     {