Fix: python error in Particle Properties without a psys #104819

Merged
Philipp Oeser merged 1 commits from lichtwerk/blender:fix_particle_mt_context_menu into blender-v3.5-release 2023-02-17 16:32:49 +01:00
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ class PARTICLE_MT_context_menu(Menu):
props.use_active = False
props.remove_target_particles = True
if psys.settings.type == 'HAIR':
if psys is not None and psys.settings.type == 'HAIR':
layout.operator(
"curves.convert_from_particle_system",
text="Convert to Curves")