Post #4465: Is there a specific reason why are you using the pme operator (bpy.ops.wm.pme_us
📋 Metadata
- Author: Motiomancer
- Date: 2022-07-23 17:05:32
- Type:
answer - Quality Score: 8/10
- Reply to: post_04464
🏷️ Tags
macro scripting advanced solved
⚙️ Related PME Features
- Macro Editor
- Stack Key Editor
- Python Scripting
💬 Content
Is there a specific reason why are you using the pme operator (bpy.ops.wm.pme_user_command_exec) to call a command? If I had to guess that could be the problem.
What happens if you change the pivots with:
bpy.context.scene.tool_settings.transform_pivot_point = 'ACTIVE_ELEMENT'
and
bpy.context.scene.tool_settings.transform_pivot_point = 'MEDIAN_POINT'
Now, about the the stack keys behavior, as far as I know its working as intended.
If you are not using “Remember State” the order resets every time you do something and starts from the first slot.
If you are using “Remember State” it keeps cycling every time you press it.
What you want from what I understand is a third behavior that goes back to te last command used and after you press it again without doing anything it changes to the next one. That would have to be added by roaoao