Post #2508: ![](https://blenderartists.org/user_avatar/blenderartists.org/lynchon/48/1084923

πŸ“‹ Metadata

  • Author: roaoao
  • Date: 2019-07-10 11:54:56
  • Type: answer
  • Quality Score: 8/10
  • Reply to: post_02506

🏷️ Tags

v1-18-8 pie-menu popup-dialog compatibility intermediate solved

  • Pie Menu Editor
  • Popup Dialog Editor
  • Custom tab/Python scripting

πŸ’¬ Content

lynchon:

@roaoao I’m getting blender 2.8 (build from 7 july) crash when calling my pie menus only when I’m in lookdev mode and render mode, wireframe and solid mode work fine.

Looks like some buttons don’t supported in these modes.
Color button in your MESH_DISPLAY popup causes the crash. You can replace its code with this (Custom tab):

L.prop(C.space_data.shading, "color_type", text="") if C.space_data.shading.type not in ('RENDERED', 'MATERIAL') else L.row()

πŸ”— View on Blender Artists