Skip to content

Commit ded9b44

Browse files
committed
v3.9.6 - updated code which broke Mcblend on 3.0+. Close #101
1 parent 52e3657 commit ded9b44

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

mcblend/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
"author": "Artur",
112112
"description": "Minecraft Bedrock Edition addon for creating entity models and animations.",
113113
"blender": (2, 80, 0),
114-
"version": (9, 3, 5), # COMPATIBILITY BREAKING CHANGE, NEW FEATURE, BUGFIX
114+
"version": (9, 3, 6), # COMPATIBILITY BREAKING CHANGE, NEW FEATURE, BUGFIX
115115
"location": "",
116116
"warning": "",
117117
"category": "Object"

mcblend/object_data.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ class MCBLEND_ObjectProperties(bpy.types.PropertyGroup):
370370
items=list_mesh_types_as_blender_enum, # type: ignore
371371
name='Mesh type')
372372
min_uv_size: IntVectorProperty( # type: ignore
373-
name="Min UV size", default=(0.0, 0.0, 0.0), min=0,
373+
name="Min UV size", default=(0, 0, 0), min=0,
374374
description=(
375375
"The lower UV boundary of the length of X dimension of a cube. If "
376376
"it's greater than the actual X, then the UV-mapper will act as "

mcblend/uv_data.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ class MCBLEND_UvMaskProperties(bpy.types.PropertyGroup):
8282
name='Point B', min=0.0, max=1.0, default=(0.0, 0.0), size=2)
8383
# p1: Vector2d # GradientMask EllipseMask RectangleMask
8484
p1: IntVectorProperty( # type: ignore
85-
name='Point A', default=(0.1, 0.1), size=2)
85+
name='Point A', default=(0, 0), size=2)
8686
# p2: Vector2d # GradientMask EllipseMask RectangleMask
8787
p2: IntVectorProperty( # type: ignore
88-
name='Point B', default=(0.9, 0.9), size=2)
88+
name='Point B', default=(0, 0), size=2)
8989
# stripes: List[Stripe] # GradientMask StripesMask
9090
stripes: CollectionProperty( # type: ignore
9191
type=MCBLEND_StripeProperties,

tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py37
2+
envlist = py310
33
skipsdist = true
44

55
[testenv]
@@ -10,7 +10,7 @@ deps =
1010
mkdocs
1111
numpy
1212
mkdocs-material
13-
fake-bpy-module-2.83
13+
fake-bpy-module-3.1
1414
commands =
1515
; run tests
1616
pytest {posargs}

0 commit comments

Comments
 (0)