📋 Metadata
- Author: roaoao
- Date: 2016-12-25 12:55:58
- Type:
answer - Reply to: post_00489
- Replies (2): post_00491, post_00492
💬 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])
...