PhysicsSetupManipulatorCommandCallback.cpp 870 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #include <Editor/Plugins/Ragdoll/PhysicsSetupManipulatorCommandCallback.h>
  9. #include <Editor/Plugins/Ragdoll/PhysicsSetupManipulatorBus.h>
  10. namespace EMotionFX
  11. {
  12. bool PhysicsSetupManipulatorCommandCallback::Execute(
  13. [[maybe_unused]] MCore::Command* command, [[maybe_unused]] const MCore::CommandLine& commandLine)
  14. {
  15. m_manipulators->Refresh();
  16. return true;
  17. }
  18. bool PhysicsSetupManipulatorCommandCallback::Undo(
  19. [[maybe_unused]] MCore::Command* command, [[maybe_unused]] const MCore::CommandLine& commandLine)
  20. {
  21. m_manipulators->Refresh();
  22. return true;
  23. }
  24. } // namespace EMotionFX