Post #611: Hey Roaoao, I’ve been trying to fix the hotkey conflicts I had, but in the proce

📋 Metadata

  • Author: Michael_Knubben
  • Date: 2017-04-04 03:29:51
  • Type: bug_report
  • Quality Score: 7/10

🏷️ Tags

hotkeys conflicts advanced unsolved

  • Pie Menu Editor
  • Python Scripting
  • Macro Editor

💬 Content

Hey Roaoao, I’ve been trying to fix the hotkey conflicts I had, but in the process of updating to the latest version a few things broke:

-I’d been using the code you gave me to add a subsurf or mirror if none were there, and toggle them if they were:

mods = [m for m in C.active_object.modifiers if m.type == ‘SUBSURF’]; m = mods and mods[0]; operator(L, “wm.context_toggle”, text, icon, icon_value=icon_value, data_path=“active_object.modifiers[‘%s’].show_viewport” % m.name) if m else operator(L, “object.modifier_add”, text, icon, icon_value=icon_value, type=‘SUBSURF’)

This now just pops up a modifier selector window if no modifier exists, and does nothing at all if a modifier is there.
-I’m having issues with a pie-slice consistently being in the wrong location. Here are the settings: https://gyazo.com/9df78544de3790d1a107c396adaf5fed
And here’s what that looks like:
https://gyazo.com/2415dcacc6fbf4f25227b941e72a44b1
-A few panels were now set to ‘panel mode’ instead of the previous ‘pie mode’, and as a result weren’t showing up unfolded in their parent pie.

More may be broken, but this is what I found so far.


🔗 View on Blender Artists