diff options
Diffstat (limited to 'source/blender/makesrna/intern/rna_space.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_space.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c index 78434643028..e122f99776d 100644 --- a/source/blender/makesrna/intern/rna_space.c +++ b/source/blender/makesrna/intern/rna_space.c @@ -765,6 +765,14 @@ static EnumPropertyItem *rna_SpaceProperties_texture_context_itemf(bContext *C, tmp.icon = ICON_MATERIAL; RNA_enum_item_add(&item, &totitem, &tmp); } + + if(ob->particlesystem.first) { + tmp.value = SB_TEXC_PARTICLES; + tmp.description = "Show Particle Textures"; + tmp.identifier = "PARTICLE"; + tmp.icon = ICON_PARTICLES; + RNA_enum_item_add(&item, &totitem, &tmp); + } } if(scene && scene->world) { |