Browse Source

Fix the Focus not working when pressing the F-Key

weinand 9 years ago
parent
commit
8d91debd87
1 changed files with 1 additions and 1 deletions
  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
     {