📋 Metadata
- Author: draguu
- Date: 2016-12-26 01:04:47
- Type:
answer - Reply to: post_00493
💬 Content
roaoao:
Sorry, this one should work:
elif attr in BlContext.data: value = ao.data if ao else None elif attr == "particle_system": if len(ao.particle_systems): value = ao.particle_systems[ ao.particle_systems.active_index] else: value = None elif attr in BlContext.mods: value = self.get_modifier_by_type(ao, BlContext.mods[attr])
haha it worked
tanks a lot man