Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
blender-addons
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
blender
blender-addons
Commits
53bfa6c9
Commit
53bfa6c9
authored
4 years ago
by
Vilém Duha
Browse files
Options
Downloads
Patches
Plain Diff
BlenderKit: unrated_only wasn't in common property group,
caused material and brush search to fail
parent
7faa6b37
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
blenderkit/__init__.py
+3
-2
3 additions, 2 deletions
blenderkit/__init__.py
with
3 additions
and
2 deletions
blenderkit/__init__.py
+
3
−
2
View file @
53bfa6c9
...
@@ -485,6 +485,9 @@ class BlenderKitCommonSearchProps(object):
...
@@ -485,6 +485,9 @@ class BlenderKitCommonSearchProps(object):
default
=
True
default
=
True
)
)
unrated_only
:
BoolProperty
(
name
=
"
Unrated only
"
,
description
=
"
Show only unrated models
"
,
default
=
False
,
update
=
search
.
search_update
)
def
name_update
(
self
,
context
):
def
name_update
(
self
,
context
):
'''
checks for name change, because it decides if whole asset has to be re-uploaded. Name is stored in the blend file
'''
checks for name change, because it decides if whole asset has to be re-uploaded. Name is stored in the blend file
...
@@ -1271,8 +1274,6 @@ class BlenderKitModelSearchProps(PropertyGroup, BlenderKitCommonSearchProps):
...
@@ -1271,8 +1274,6 @@ class BlenderKitModelSearchProps(PropertyGroup, BlenderKitCommonSearchProps):
free_only
:
BoolProperty
(
name
=
"
Free only
"
,
description
=
"
Show only free models
"
,
free_only
:
BoolProperty
(
name
=
"
Free only
"
,
description
=
"
Show only free models
"
,
default
=
False
,
update
=
search
.
search_update
)
default
=
False
,
update
=
search
.
search_update
)
unrated_only
:
BoolProperty
(
name
=
"
Unrated only
"
,
description
=
"
Show only unrated models
"
,
default
=
False
,
update
=
search
.
search_update
)
# CONDITION
# CONDITION
search_condition
:
EnumProperty
(
search_condition
:
EnumProperty
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment