diff options
Diffstat (limited to 'blenderkit')
-rw-r--r-- | blenderkit/ui_panels.py | 6 | ||||
-rw-r--r-- | blenderkit/upload.py | 24 |
2 files changed, 15 insertions, 15 deletions
diff --git a/blenderkit/ui_panels.py b/blenderkit/ui_panels.py index 9cd37db4..ef95665b 100644 --- a/blenderkit/ui_panels.py +++ b/blenderkit/ui_panels.py @@ -188,7 +188,7 @@ def draw_panel_model_upload(self, context): label_multiline(layout, text=props.thumbnail_generating_state) layout.prop(props, 'description') - prop_needed(layout, props, 'tags', props.tags) + layout.prop(props, 'tags') # prop_needed(layout, props, 'style', props.style) # prop_needed(layout, props, 'production_level', props.production_level) layout.prop(props, 'style') @@ -254,7 +254,7 @@ def draw_panel_scene_upload(self, context): # label_multiline(layout, text = props.thumbnail_generating_state) layout.prop(props, 'description') - prop_needed(layout, props, 'tags', props.tags) + layout.prop(props, 'tags') layout.prop(props, 'style') layout.prop(props, 'production_level') layout.prop(props, 'use_design_year') @@ -456,7 +456,7 @@ def draw_panel_material_upload(self, context): # layout.prop(props, 'engine') # if props.engine == 'OTHER': # layout.prop(props, 'engine_other') - prop_needed(layout, props, 'tags', props.tags) + layout.prop(props, 'tags') # layout.prop(props,'shaders')#TODO autofill on upload # row = layout.row() layout.prop(props, 'pbr') diff --git a/blenderkit/upload.py b/blenderkit/upload.py index 717e457e..9d338803 100644 --- a/blenderkit/upload.py +++ b/blenderkit/upload.py @@ -112,14 +112,14 @@ def get_missing_data_model(props): if props.name == '': write_to_report(props, 'Set model name') - if props.tags == '': - write_to_report(props, 'Write at least 3 tags') + # if props.tags == '': + # write_to_report(props, 'Write at least 3 tags') if not props.has_thumbnail: write_to_report(props, 'Add thumbnail:') props.report += props.thumbnail_generating_state + '\n' - if props.work_hours == 0.0: - write_to_report(props, 'Fill in work hours') + # if props.work_hours == 0.0: + # write_to_report(props, 'Fill in work hours') if props.engine == 'NONE': write_to_report(props, 'Set at least one rendering/output engine') if not any(props.dimensions): @@ -132,14 +132,14 @@ def get_missing_data_scene(props): if props.name == '': write_to_report(props, 'Set scene name') - if props.tags == '': - write_to_report(props, 'Write at least 3 tags') + # if props.tags == '': + # write_to_report(props, 'Write at least 3 tags') if not props.has_thumbnail: write_to_report(props, 'Add thumbnail:') props.report += props.thumbnail_generating_state + '\n' - if props.work_hours == 0.0: - write_to_report(props, 'Fill in work hours') + # if props.work_hours == 0.0: + # write_to_report(props, 'Fill in work hours') if props.engine == 'NONE': write_to_report(props, 'Set at least one rendering/output engine') @@ -149,8 +149,8 @@ def get_missing_data_material(props): autothumb.update_upload_material_preview(None, None) if props.name == '': write_to_report(props, 'Set material name') - if props.tags == '': - write_to_report(props, 'Write at least 3 tags') + # if props.tags == '': + # write_to_report(props, 'Write at least 3 tags') if not props.has_thumbnail: write_to_report(props, 'Add thumbnail:') props.report += props.thumbnail_generating_state @@ -163,8 +163,8 @@ def get_missing_data_brush(props): props.report = '' if props.name == '': write_to_report(props, 'Set brush name') - if props.tags == '': - write_to_report(props, 'Write at least 3 tags') + # if props.tags == '': + # write_to_report(props, 'Write at least 3 tags') if not props.has_thumbnail: write_to_report(props, 'Add thumbnail:') props.report += props.thumbnail_generating_state |