Merge branch 'blender-v4.2-release'
This commit is contained in:
@@ -19,6 +19,7 @@ PY_FILES_MYPY=$(filter-out \
|
||||
./bl_extension_ops.py \
|
||||
./bl_extension_ui.py \
|
||||
./bl_extension_utils.py \
|
||||
./extensions_map_from_legacy_addons.py \
|
||||
./wheel_manager.py \
|
||||
./example_extension/__init__.py \
|
||||
./example_extension/foo.py \
|
||||
|
||||
@@ -1510,9 +1510,7 @@ def pkg_manifest_is_valid_or_error_impl(
|
||||
|
||||
# When the default value is None, skip all type checks.
|
||||
if not (is_default_value and x_val is None):
|
||||
if x_ty is None:
|
||||
pass
|
||||
elif isinstance(x_val, x_ty):
|
||||
if isinstance(x_val, x_ty):
|
||||
pass
|
||||
else:
|
||||
error_list.append("\"{:s}\" must be a {:s}, not a {:s}".format(
|
||||
|
||||
Reference in New Issue
Block a user