Choose default target='DATABLOCK'

This commit is contained in:
Sybren A. Stüvel 2016-07-06 16:25:10 +02:00
parent 96616dbdff
commit 662b6cf221

View File

@ -53,7 +53,8 @@ class PILLAR_OT_image_share(pillar.PillarOperatorMixin,
('FILE', 'File', 'Upload an image file'), ('FILE', 'File', 'Upload an image file'),
('DATABLOCK', 'Datablock', 'Upload an image datablock'), ('DATABLOCK', 'Datablock', 'Upload an image datablock'),
], ],
name='target') name='target',
default='DATABLOCK')
name = bpy.props.StringProperty(name='name', name = bpy.props.StringProperty(name='name',
description='File or datablock name to sync') description='File or datablock name to sync')