Commit Graph

73 Commits

Author SHA1 Message Date
054ee2f417 BlenderKit: fix rating interaction
-disabled layout didn't work(thanks to another blender layout bug that I reported)
-replaced it with an enum, and also a popup that informs the user instead.
2020-07-12 18:07:58 +02:00
6f7c4230af BlenderKit: fix T70890
this is a complex fix that required to change some basic behaviours.
- the temp folder from blenderkit_data was moved to system temp folder
- There's a cleanup function for the old folder.
- search itself doesn't create files on drive(this rework will continue to try not to write also some other data, like gravatars, but cache them in mem only)

further fixes:
 - assetbar woudln't draw if there wasn't a thumbnail in an asset
 - categories panel poll function was fixed for brushes
 - fetching tokens from rerequests wasn't writing them into prefs

 TODO: create a popup that asks if categories can be downloaded and an example search can be performed.
2020-07-12 18:07:58 +02:00
943d41d443 BlenderKit: fix search by author verification status
fix ratings drawing for not logged in users
fix ratings update function(was reacting to quality rating)
2020-07-12 18:07:58 +02:00
c6453b9803 BlenderKit: fix search filters
-procedural search wasn't working properly
-displaying files size in tooltip was broken
-search by files size had misleading description
-small UI fixes.
-fix link to plans
2020-07-01 16:11:56 +02:00
1b1b58b2ab BlenderKit: reorganize panels to subpanels
makes categories ando others foldable.
rename advanced search to search filters, these now work always when switched on (previously the 'advanced' option switched them all on/off)
2020-07-01 16:11:56 +02:00
903a0f01b5 BlenderKit: fix replace model, was broken.
-should also WIP work in selected model panel.
-deleted commented out filtering code
2020-07-01 16:11:56 +02:00
8bf7c77ca0 BlenderKit: add use_timers to debug timers and check stability issues
rename several asset data dict properties to be serverdata-compatible
 - this needed an update function on scene load for older scenes.
draw asset context menu also in selected model panel
remove brush mode filtering from search code(is filtered in Elastic for some time already)
2020-07-01 16:11:55 +02:00
ca6405bac3 Fix blenderkit causing assert
Setting the label for a registered operator isn't supported,
this looks to be test code left in by accident,
it does nothing or asserts in debug mode.
2020-06-16 13:11:21 +10:00
c5fad30a5d BlenderKit: Fixes
rating showing to non-logged in users
Upload wasn't showing proper error message when not logged in too.
Replace selected models wasn't shown with no active object
First registration search wasn't shown.
Sorting of uploaded assets for validators was reversed
2020-05-27 12:27:05 +02:00
0c551e05a4 BlenderKit: fix various typos 2020-05-27 12:27:05 +02:00
14ee8dfc0f BlenderKit: attempt to fix asset bar hang bug
-caused by wrong order of checks in the modal operator
add 'first run' assetbar appearance, helpful for first time users.
Improve clipboard checking
tweak asset locked message
add plans to profile panel
2020-02-24 16:54:24 +01:00
6b61dff084 BlenderKit: fix bugs
clipboard pasting not working at all, kind of a showstopper,
and an error in Rating drawing that spammed console.
several tooltips fixed
2020-02-11 18:56:48 +01:00
538e48dd91 BlenderKit: fix occasional crash during reordering.
It was caused with order of unregistration, now UI panels go first.
also separated advanced search panel
2020-02-06 23:11:48 +01:00
168f144256 BlenderKit: Fix rating updates for panel.
Fix a bug in upload when checking image /procedural assets
Fix oauth return values in case of error
Fix fetching of authors through search api instead of profiles.
Fix task_queue with multiple tasks of the same by enabling stashing
Fix selected asset panel, rename it to selected model by now (not supporting other assets now)
2020-02-06 09:56:35 +01:00
f78b7f9618 BlenderKit: prevent blender crashes + undo fix
Blender tends to crash during unregistration process when some functions still run (like UI) this is a bug that should be reported, however this fixes the problem at least for BlenderKit now.
appending an asset now runs undo push operator with faked context - works surprisingly well.
improving lots of tooltips.
ratings download
license display
default sorting by uploaded last
2020-01-28 13:45:44 +01:00
4300021a7a BlenderKit: search - default order
-default order by last upload
-enable search by file size
-improve procedural material search UI
2020-01-28 13:45:44 +01:00
1285546768 BlenderKit: Search by verification status 2020-01-28 13:45:44 +01:00
7410d631ce BlenderKit:
-icons module
-clipboard monitoring
-fix link to website when people want to see asset online
-advanced search parameters
2020-01-28 13:45:44 +01:00
11491c5be0 BlenderKit: search in header option in prefs
tips on start option in prefs
total_megapixels autotag wip
fix bugs in queries
active area is usually the largest 3d view and only that one draws reports e.t.c.
fix registration crash when registering/unregistering several times (menu remove)
vs_rejected icon verification status
2020-01-28 13:45:43 +01:00
8e3757177c BlenderKit:
-improve multiline tooltips
-change addon category to 3d view, fits a bit more than add mesh
-support searching only own assets
-support searching for procedural only assets(hiddn by now)
-switch off defautl GPU on for thumbnails- this was a bug that went unnoticed for a long time.
-add gpu render option directly to thumbnail render dialogs
-non-treaded downloading for resolutions
-move in utils and rename correctly params_to_dict and dict_to_params
-display icon for rejected assets(needs a new icon)
-split login panel
-rename some panels for more consistency
-improve some tooltips
2020-01-28 13:45:43 +01:00
8f0d71a23c BlenderKit: fix replace models hidden for unlocked assets. 2020-01-13 15:50:40 +01:00
ea1aedbc57 BlenderKit: UI typo fixes, and slight optimisation. 2020-01-13 10:36:32 +01:00
cca88a08d5 BlenderKit: more UI improvement
dynamic tooltip for asset bar and search
a lot of tooltips updated.
2020-01-13 10:36:32 +01:00
c96469928a BlenderKit: several more UI fixes 2020-01-13 10:36:31 +01:00
65da3f00f7 BlenderKit: minor UI fixes and improvements 2020-01-09 17:28:57 +01:00
d1701786f2 BlenderKit: search field on top
- a dialog box telling the user why an asset is locked
 -verification status change now in thread
 - Search UI small changes, getting rid of show assetbar button (now a small eye)
2020-01-09 13:49:01 +01:00
46fb3ac3a1 BlenderKit: replace bpy.context.active_object with bpy.context.view_layer.objects.active everywhere. This gives much less issues with context in queue. 2020-01-07 11:43:44 +01:00
1fe256ff35 BlenderKit: validation tools improvements
People who can validate are now recognized from profile info
In menu it's possible to put asset on hold besides validation
reupload of thumbnails doesn't put asset back to pre-validation state, only main file upload.
2020-01-07 11:43:43 +01:00
d7d70e8e86 BlenderKit: is_validator function for users 2020-01-07 11:43:42 +01:00
ad051a06e3 BlenderKit: fix ui for material upload.
Is free wasn't visible and it wasn't clear to some users that all materials are free.
2019-11-10 20:01:07 +01:00
3a0cc9946f BlenderKit: fix selected asset panel, got mixed with unfinished fast upload feature. 2019-10-10 16:16:13 +02:00
2246d0d983 BlenderKit: fix more typos in right-click menu 2019-10-02 13:44:06 +02:00
a2a4229b7e BlenderKit: small fixes in UI and comments 2019-10-02 13:44:06 +02:00
abb382be26 BlenderKit:
fix typos and wrong formatting in Search similar
2019-09-10 16:55:32 +02:00
a1b29d179a BlenderKit: replace asset command, present in right-click menu. 2019-09-10 16:55:32 +02:00
1760af58fc BlenderKit: several fixes
- crucial typo bug in previous timers commit(linking of collections gone wrong)
 - increase size of first row of UI in panel
 - fix a bug when mesh isn't generated in bounding box calculations (reported bug)
2019-09-10 16:55:32 +02:00
05ed8f5427 BlenderKit:
thumbnailer had accidentally set resolution to 50%
Try to avoid a rare bug where categories file isn't present (not sure yet as why that happens, but this enables the use of the addon until categories are loaded)
Internal Transfer BlendrKit data operator
Switch some operators to internal and remove undo from those where it doesn't make sense.
2019-08-20 10:24:07 +02:00
37db201e51 BlenderKit: fix path to check own assets online 2019-08-20 10:24:07 +02:00
c5b6e7a4c8 BlenderKit: Right click menu
-Open authors webpage
-Search assets by author
-basic 'search similar' .
-fix some tooltips
-deleting of assets from online lib (disabled by now)
- possibility to validate , not yet supported on server.

scroll wheel now scrolls rows instead of single items if there are more rows enabled.
2019-08-16 22:34:07 +02:00
d96b6d38d2 BlenderKit: get rid of other styles that aren't supported on the server. 2019-08-12 21:27:58 +02:00
3aaf776e6d BlenderKit: simplify upload display - drop ID's 2019-08-12 15:58:36 +02:00
30660b7d90 BlenderKit: upload reworked.
Don't save .blend file , some users didn't like this.
Re-upload enables only thumbnail updates.
Mark for validation operator removed(was removed from UI several versions ago)
ModelUploadOperator renamed to UploadOperator, since it's used for all asset types anyway.
Skip .blend preparation in case of thumbnail reupload only
2019-08-12 15:58:36 +02:00
2b787dcb98 BlenderKit: get rid of obligatory tags and work hours filling. 2019-08-12 15:58:36 +02:00
92830c7e43 BlenderKit: fix oauth failing on some connections. This updates the oauth script to last version, and also ensures the login attempt can be properly canceled when it hangs. 2019-07-26 12:51:28 +02:00
45e76b59c7 BlenderKit: UI fixes
fix error when image not yet loaded.
Profile info was hidden by accident.
Login buttons layout was also not respecting login state.
2019-07-14 20:53:09 +02:00
d285ec6351 BlenderKit: show logout button in profile panel. 2019-07-08 18:12:26 +02:00
c518011113 BlenderKit: Bring back login buttons in profile, since Oauth sometimes fails for unknown reasons. 2019-07-08 18:12:26 +02:00
caf4a3058e BlenderKit: fix link to docs ans several small UI tweaks 2019-06-24 21:30:05 +02:00
34dbc72c88 BlenderKit: rename all mentions of standard plan to full 2019-06-17 16:14:12 +02:00
ae500d2891 BlenderKit: oauth logout is now only in preferences. 2019-06-06 14:28:33 +02:00