mirror of
https://github.com/blender/blender
synced 2026-11-22 03:45:13 +03:00
This commit bumps the `ios` branch from 5.0.0 alpha to 5.1.2 release. I merged v5.0-release first then v5.1-release. So it was a sequential merge. I'm just waiting to the approval of continuing development. The stuff that are missing (those are so close to implement): - #145484 iOS: Keyboard Input Support: https://projects.blender.org/blender/blender/pulls/145484 - #145702 iOS: Add clipboard Image: https://projects.blender.org/blender/blender/pulls/145702 - Fix QOS threading - Expose Downloads - UIScene Migration `make deps` needs to run two times. (still hacky....) OSL occurs racing conditions. Disclaimer: I used AI for searching in Documentation of Deps. So the implementation is by hand. **SACRED PINKY FINGER PROMISE** Pull Request: https://projects.blender.org/blender/blender/pulls/161073
50 lines
1.9 KiB
Python
50 lines
1.9 KiB
Python
# SPDX-FileCopyrightText: 2025 Blender Authors
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
__all__ = (
|
|
"main",
|
|
)
|
|
|
|
import os
|
|
import sys
|
|
|
|
import bpy
|
|
|
|
"""
|
|
blender -b --factory-startup tests/files/modeling/modifiers/multires_modifier --python tests/python/modeling/modifiers/multires_modifier.py
|
|
"""
|
|
|
|
BASE_DIR = os.path.dirname(os.path.realpath(__file__))
|
|
sys.path.append(os.path.join(BASE_DIR, "..", ".."))
|
|
from modules.mesh_test import RunTest, ModifierSpec, SpecMeshTest, OperatorSpec
|
|
|
|
|
|
def main():
|
|
tests = [
|
|
SpecMeshTest("CatmullClarkSubdivide", "testCubeMultires", "expectedCubeMultires",
|
|
[
|
|
ModifierSpec('multires', 'MULTIRES', {}),
|
|
OperatorSpec('OBJECT', 'object.multires_subdivide', {'modifier': 'multires'}),
|
|
OperatorSpec('OBJECT', 'object.modifier_apply', {'modifier': 'multires'})
|
|
], apply_modifier=False),
|
|
SpecMeshTest("SimpleSubdivide", "testSuzanneSimple", "expectedSuzanneSimple",
|
|
[
|
|
ModifierSpec('multires', 'MULTIRES', {}),
|
|
OperatorSpec('OBJECT', 'object.multires_subdivide', {'modifier': 'multires', 'mode': 'SIMPLE'}),
|
|
OperatorSpec('OBJECT', 'object.modifier_apply', {'modifier': 'multires'})
|
|
], apply_modifier=False),
|
|
SpecMeshTest("LinearSubdivide", "testSuzanneLinear", "expectedSuzanneLinear",
|
|
[
|
|
ModifierSpec('multires', 'MULTIRES', {}),
|
|
OperatorSpec('OBJECT', 'object.multires_subdivide', {'modifier': 'multires', 'mode': 'LINEAR'}),
|
|
OperatorSpec('OBJECT', 'object.modifier_apply', {'modifier': 'multires'})
|
|
], apply_modifier=False),
|
|
]
|
|
|
|
modifiers_test = RunTest(tests)
|
|
modifiers_test.main()
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|