Post #579: I’m running into an issue on 1.13.3. I have a macro that contains 8 commands. Th
📋 Metadata
- Author: Jakro
- Date: 2017-03-05 04:49:02
- Type:
bug_report - Quality Score: 7/10
- Replies (1): post_00581
🏷️ Tags
v1-13-3 macro macro-execution intermediate unsolved
⚙️ Related PME Features
- Macro Editor
- Blender Commands
- Python Scripting
💬 Content
I’m running into an issue on 1.13.3. I have a macro that contains 8 commands. The macro works perfectly if i use only the first 7 commands, as soon as i add the final command the macro stops working. The final command is a simple deselect command. What’s weird is that if i just add the 8th command to the 7th command using a ; then it works perfectly. Here’s the macro JSON:
[
[
“Add Seam and Update UVs”,
“Mesh”,
“shift+U”,
[
[
“Mark Seam”,
“COMMAND”,
“BLENDER”,
“bpy.ops.mesh.mark_seam(clear=False)”
],
[
“Mark Sharp”,
“COMMAND”,
“BLENDER”,
“bpy.ops.mesh.mark_sharp(clear=False)”
],
[
“Select All”,
“COMMAND”,
“BLENDER”,
“bpy.ops.mesh.select_all(action=‘SELECT’)”
],
[
“Unwrap”,
“COMMAND”,
“BLENDER”,
“bpy.ops.uv.unwrap()”
],
[
“Toggle Editmode”,
“COMMAND”,
“BLENDER”,
“bpy.ops.object.editmode_toggle()”
],
[
“Draw UV”,
“COMMAND”,
“BLENDER”,
“bpy.ops.hops.draw_uv()”
],
[
“Toggle Edit mode”,
“COMMAND”,
“BLENDER”,
“bpy.ops.object.editmode_toggle()”
],
[
“(De)select All”,
“COMMAND”,
“BLENDER”,
“bpy.ops.mesh.select_all(action=‘DESELECT’)”
]
],
“MACRO”,
“m?”,
“PRESS”,
“return True”
]
]
NOTE; I’m calling a command from the addon hardops (draw_uv). Though i don’t believe that’s the cause of the issue because the macro works fine until i add the final deselect command.