Skip to content

Commit 5452532

Browse files
authored
Merge pull request #9 from atticus-lv/develop
Develop
2 parents bc17ca1 + b8149b2 commit 5452532

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,12 @@
99
+ Palette adjustment (hsv, finishing), asset loading and exporting
1010
+ Nearest Pantone color converter
1111

12-
### Download
13-
> v0.5
14-
15-
https://github.com/atticus-lv/color_helper/archive/refs/heads/master.zip
1612

1713
### Log
1814

15+
### v0.6
16+
+ fix non-english locale issue in collection name
17+
1918
### v0.52
2019
+ support blender 4.0
2120
+ remove support of lower version

__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "Color Helper",
33
"author": "Atticus",
44
"blender": (4, 0, 0),
5-
"version": (0, 5, 2),
5+
"version": (0, 6, 0),
66
"category": "Color",
77
"support": "COMMUNITY",
88
"doc_url": "",

props/palette.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,12 @@ class PaletteCollectionProps(PropertyGroup):
6666
PaletteCollectionProps
6767
)
6868

69+
ENUM_COLLECTION = []
6970

7071
def enum_collection_callback(self, context):
71-
return [(f'{i}', collection.name, '') for i, collection in enumerate(context.scene.ch_palette_collection)]
72+
global ENUM_COLLECTION
73+
ENUM_COLLECTION = [(f'{i}', collection.name, '') for i, collection in enumerate(context.scene.ch_palette_collection)]
74+
return ENUM_COLLECTION
7275

7376

7477
def update_enum_collection(self, context):

0 commit comments

Comments
 (0)