Post #46: I have to learn to use it first !

📋 Metadata

  • Author: pitiwazou
  • Date: 2016-03-03 14:01:09
  • Type: question
  • Quality Score: 6/10
  • Replies (1): post_00047

🏷️ Tags

pie-menu custom-operators beginner unsolved

  • Pie Menu Editor
  • Python Scripting

💬 Content

I have to learn to use it first !

Question, On my personnal pie I would like to make a blank operator like you do in your code.

I saw the empty class

class WM_OT_pme_none(bpy.types.Operator):
bl_idname = "wm.pme_none"
bl_label = ""
bl_options = {'INTERNAL'}


def execute(self, context):
return {'FINISHED'}

And I use the pie.operator

pie.operator("wm.pme_none", " ", emboss=False)
self.has_sep = True

I have this result, I would like to have nothing

http://pitiwazou.com/screenshots/2016-03-03_23-00-07.jpg

Did I miss something ?


🔗 View on Blender Artists