Post #1229: ![](https://blenderartists.org/user_avatar/blenderartists.org/roaoao/48/37600_2.

📋 Metadata

  • Author: Way2Close
  • Date: 2018-02-17 09:05:07
  • Type: answer
  • Quality Score: 8/10
  • Reply to: post_01228

🏷️ Tags

macro hotkeys advanced solved

  • Macro Editor
  • Python Scripting

💬 Content

roaoao:

Hi, try to restore the pivot mode in the 3rd slot:

bpy.ops.transform.rotate('INVOKE_DEFAULT', True); bpy.context.space_data.pivot_point = stored_pivot_mode

You are a genius, thank you yet again :stuck_out_tongue:


🔗 View on Blender Artists