From 0ebae76cfd257362a35031ea9440cb0e23c9d117 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 13 Sep 2010 04:44:13 +0000 Subject: minor changes, avoid lookups on bpy.types.Scene for many settings --- object_cloud_gen.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'object_cloud_gen.py') diff --git a/object_cloud_gen.py b/object_cloud_gen.py index e5b79aba..406a7fa4 100644 --- a/object_cloud_gen.py +++ b/object_cloud_gen.py @@ -312,7 +312,8 @@ bpy.types.Scene.cloudparticles = BoolProperty( bpy.types.Scene.cloud_type = EnumProperty( name="Type", description="Select the type of cloud to create with material settings", - items = cloudTypes, default = '0') + items=cloudTypes, default='0') + class GenerateCloud(bpy.types.Operator): bl_idname = "cloud.generate_cloud" -- cgit v1.2.3