From 662b6cf22153eb3e9bc8ac45a723d2559ece93d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Wed, 6 Jul 2016 16:25:10 +0200 Subject: [PATCH] Choose default target='DATABLOCK' --- blender_cloud/image_sharing.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/blender_cloud/image_sharing.py b/blender_cloud/image_sharing.py index 16f64fb..578b3d5 100644 --- a/blender_cloud/image_sharing.py +++ b/blender_cloud/image_sharing.py @@ -53,7 +53,8 @@ class PILLAR_OT_image_share(pillar.PillarOperatorMixin, ('FILE', 'File', 'Upload an image file'), ('DATABLOCK', 'Datablock', 'Upload an image datablock'), ], - name='target') + name='target', + default='DATABLOCK') name = bpy.props.StringProperty(name='name', description='File or datablock name to sync')