Post #490: ![](https://blenderartists.org/user_avatar/blenderartists.org/draguu/48/15444_2.

📋 Metadata

🏷️ Tags

popup-dialog panel-integration intermediate solved

  • Popup Dialog Editor
  • Panel Group Editor
  • Python Scripting

💬 Content

draguu:

i tried addin particle emission panel , but its not workin
panel(T.PARTICLE_PT_emission, frame=True, header=True)

Thanks, here is the fix.
I can’t send you the file because I it has some untested changes. But I think you know how to add this code to pie_menu_editor/init.py file (line 580):

            elif attr == "particle_system":
                value = self.get_modifier_by_type(
                    ao, 'PARTICLE_SYSTEM').particle_system

It will look like this:

...
            elif attr in BlContext.data:
                value = ao.data if ao else None
            elif attr == "particle_system":
                value = self.get_modifier_by_type(
                    ao, 'PARTICLE_SYSTEM').particle_system
            elif attr in BlContext.mods:
                value = self.get_modifier_by_type(ao, BlContext.mods[attr])
...

🔗 View on Blender Artists