From 925c4b4152f3d6774ba53d2f3c4486a1a8b97358 Mon Sep 17 00:00:00 2001 From: mifth Date: Fri, 8 Aug 2014 20:22:56 +0400 Subject: [PATCH] Dropdown list for blender addon Dropdown list for blender addon --- plugins/blender/addons/render_afanasy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/blender/addons/render_afanasy.py b/plugins/blender/addons/render_afanasy.py index 89c80dc7a..fc6f4f29e 100644 --- a/plugins/blender/addons/render_afanasy.py +++ b/plugins/blender/addons/render_afanasy.py @@ -49,9 +49,9 @@ class ORESettings(bpy.types.PropertyGroup): jobname = StringProperty(name='Job Name', description='Job Name. Scene name if empty.', maxlen=512, default='') - engine = StringProperty(name='Use Engine', + engine = EnumProperty(name='Use Engine', description='Engine to render scene with.', - maxlen=512, default='BLENDER_RENDER') + items=(("BLENDER_RENDER","BLENDER_RENDER",""), ("CYCLES","CYCLES","")), default='BLENDER_RENDER') fstart = IntProperty(name='Start', description='Start Frame', default=1) fend = IntProperty(name='End', description='End Frame', default=11) finc = IntProperty(name='By', description='Frames Increment', min=1,